| 1 | <?php |
||
| 8 | abstract class Presenter |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var \Illuminate\Database\Eloquent\Model |
||
| 12 | */ |
||
| 13 | protected $model; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param \Illuminate\Database\Eloquent\Model $model |
||
| 17 | */ |
||
| 18 | public function __construct(Model $model) |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param $property |
||
| 25 | * @return bool |
||
| 26 | */ |
||
| 27 | public function __isset($property) |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param $property |
||
| 34 | * @return mixed |
||
| 35 | */ |
||
| 36 | public function __get($property) |
||
| 46 | } |
||
| 47 |