| 1 | <?php |
||
| 8 | class PlanFeature extends Model implements PlanFeatureContract |
||
| 9 | { |
||
| 10 | protected $table = 'plan_features'; |
||
| 11 | |||
| 12 | protected $fillable = [ |
||
| 13 | 'code', 'value', 'sort_order', 'is_consumable', |
||
| 14 | ]; |
||
| 15 | |||
| 16 | public function plan() |
||
| 20 | |||
| 21 | public function isConsumable(): bool |
||
| 25 | |||
| 26 | public function getValue() |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param string $code |
||
| 33 | * @param bool|int $value |
||
| 34 | * @param int $sortOrder |
||
| 35 | * @param bool $isConsumable |
||
| 36 | * @return Model |
||
| 37 | */ |
||
| 38 | public static function make( |
||
| 62 | |||
| 63 | public function getCode(): string |
||
| 67 | } |
||
| 68 |