| Total Complexity | 5 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 9 | class ThemeComposer |
||
| 10 | { |
||
| 11 | protected $user; |
||
| 12 | protected $theme; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Create a new instance. |
||
| 16 | * |
||
| 17 | * @return void |
||
| 18 | */ |
||
| 19 | public function __construct() |
||
| 20 | { |
||
| 21 | $this->user = Auth::user(); |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Bind data to the view. |
||
| 26 | * |
||
| 27 | * @param View $view |
||
| 28 | * |
||
| 29 | * @return void |
||
| 30 | */ |
||
| 31 | public function compose(View $view) |
||
| 48 | } |
||
| 49 | } |
||
| 50 |