LaravelRUS /
SleepingOwlAdmin
| 1 | <?php |
||
| 2 | |||
| 3 | namespace SleepingOwl\Admin\Traits; |
||
| 4 | |||
| 5 | trait ElementViewTrait |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @return string|\Illuminate\View\View |
||
| 9 | */ |
||
| 10 | public function getView() |
||
| 11 | { |
||
| 12 | return $this->view; |
||
| 13 | } |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param string|\Illuminate\View\View $view |
||
| 17 | * |
||
| 18 | * @return $this |
||
| 19 | */ |
||
| 20 | public function setView($view) |
||
| 21 | { |
||
| 22 | $this->view = $view; |
||
|
0 ignored issues
–
show
Bug
Best Practice
introduced
by
Loading history...
|
|||
| 23 | |||
| 24 | return $this; |
||
| 25 | } |
||
| 26 | } |
||
| 27 |