1 | <?php namespace Arcanesoft\Auth\ViewComposers; |
||
13 | class RolesComposer extends ViewComposer |
||
14 | { |
||
15 | /* ----------------------------------------------------------------- |
||
16 | | Properties |
||
17 | | ----------------------------------------------------------------- |
||
18 | */ |
||
19 | /** |
||
20 | * The role model. |
||
21 | * |
||
22 | * @var \Arcanesoft\Contracts\Auth\Models\Role |
||
23 | */ |
||
24 | private $role; |
||
25 | |||
26 | /* ----------------------------------------------------------------- |
||
27 | | Constructor |
||
28 | | ----------------------------------------------------------------- |
||
29 | */ |
||
30 | /** |
||
31 | * RolesComposer constructor. |
||
32 | * |
||
33 | * @param \Arcanesoft\Contracts\Auth\Models\Role $role |
||
34 | */ |
||
35 | public function __construct(Role $role) |
||
39 | |||
40 | /* ----------------------------------------------------------------- |
||
41 | | Main Methods |
||
42 | | ----------------------------------------------------------------- |
||
43 | */ |
||
44 | /** |
||
45 | * Compose the view. |
||
46 | * |
||
47 | * @param \Illuminate\Contracts\View\View $view |
||
48 | */ |
||
49 | public function composeFilters(View $view) |
||
65 | } |
||
66 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.