1 | <?php |
||
9 | class Group implements GroupContract |
||
10 | { |
||
11 | protected $code = null; |
||
12 | protected $modelPlan; |
||
13 | |||
14 | public function __construct(string $code) |
||
19 | |||
20 | public function addPlans(array $plans): void |
||
26 | |||
27 | public function addPlan(PlanContract $plan): void |
||
31 | |||
32 | public function hasPlans(): bool |
||
36 | |||
37 | public function plans(): Builder |
||
43 | |||
44 | public function getDefaultPlan(): ?PlanContract |
||
48 | |||
49 | public function __toString(): string |
||
53 | |||
54 | public function getCode(): string |
||
58 | |||
59 | public function getEnabledPlans() |
||
67 | } |
||
68 |