| 1 | <?php |
||
| 10 | class Group implements GroupContract |
||
| 11 | { |
||
| 12 | protected $code = null; |
||
| 13 | protected $modelPlan; |
||
| 14 | |||
| 15 | public function __construct(string $code) |
||
| 20 | |||
| 21 | public function getCode(): string |
||
| 25 | |||
| 26 | public function plans(): Builder |
||
| 30 | |||
| 31 | public function addPlan(PlanContract $plan): void |
||
| 35 | |||
| 36 | public function addPlans(array $plans): void |
||
| 42 | |||
| 43 | public function hasPlans(): bool |
||
| 47 | |||
| 48 | public function getDefaultPlan(): ?PlanContract |
||
| 52 | |||
| 53 | public function __toString(): string |
||
| 57 | } |
||
| 58 |