1 | <?php namespace Modules\Block\Entities; |
||
7 | class Block extends Model |
||
8 | { |
||
9 | use Translatable, PresentableTrait; |
||
10 | |||
11 | protected $presenter = 'Modules\Block\Presenters\BlockPresenter'; |
||
12 | protected $table = 'block__blocks'; |
||
13 | public $translatedAttributes = ['online', 'body']; |
||
14 | protected $fillable = ['name', 'online', 'body']; |
||
15 | protected $casts = [ |
||
16 | 'online' => 'bool', |
||
17 | ]; |
||
18 | |||
19 | public function __call($method, $parameters) |
||
34 | } |
||
35 |