Skip to content
Snippets Groups Projects
Commit 69d5cd0c authored by Eirik Morland's avatar Eirik Morland
Browse files

Issue #3356368 by eiriksm: Make it possible to get plan id from plan

parent d4dc1ca8
No related branches found
No related tags found
1 merge request!12Issue #3356368: Make it possible to get plan id from plan
......@@ -57,4 +57,11 @@ class Plan implements PlanInterface {
}
}
/**
* Getter for plan id.
*/
public function getId() {
return $this->planType;
}
}
......@@ -25,4 +25,9 @@ interface PlanInterface {
*/
public function getMaxPrivateRepos() : int;
/**
* Gets the id, typcally on of the constants up here.
*/
public function getId();
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment