| Total Complexity | 3 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class SidebarComposer |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var UserRepository |
||
| 15 | */ |
||
| 16 | protected $userRepository; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * SidebarComposer constructor. |
||
| 20 | * |
||
| 21 | * @param UserRepository $userRepository |
||
| 22 | */ |
||
| 23 | public function __construct(UserRepository $userRepository) |
||
| 24 | { |
||
| 25 | $this->userRepository = $userRepository; |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param View $view |
||
| 30 | * |
||
| 31 | * @return bool|mixed |
||
| 32 | */ |
||
| 33 | public function compose(View $view) |
||
| 39 | } |
||
| 40 | } |
||
| 42 |