| 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 Role $role |
||
| 34 | */ |
||
| 35 | public function __construct(Role $role) |
||
| 39 | |||
| 40 | /* ------------------------------------------------------------------------------------------------ |
||
| 41 | | Main Functions |
||
| 42 | | ------------------------------------------------------------------------------------------------ |
||
| 43 | */ |
||
| 44 | public function composeFilters(View $view) |
||
| 63 | } |
||
| 64 |
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.