| 1 | <?php |
||
| 10 | class AdminLte |
||
| 11 | { |
||
| 12 | protected $menu; |
||
| 13 | |||
| 14 | protected $filters; |
||
| 15 | |||
| 16 | protected $events; |
||
| 17 | |||
| 18 | protected $container; |
||
| 19 | |||
| 20 | 1 | public function __construct( |
|
| 29 | |||
| 30 | 1 | public function menu() |
|
| 38 | |||
| 39 | 1 | protected function buildMenu() |
|
| 40 | { |
||
| 41 | 1 | $builder = new Builder($this->buildFilters()); |
|
| 42 | |||
| 43 | 1 | if (method_exists($this->events, 'dispatch')) { |
|
| 44 | $this->events->dispatch(new BuildingMenu($builder)); |
||
| 45 | } else { |
||
| 46 | 1 | $this->events->fire(new BuildingMenu($builder)); |
|
|
|
|||
| 47 | } |
||
| 48 | |||
| 49 | 1 | return $builder->menu; |
|
| 50 | } |
||
| 51 | |||
| 52 | 1 | protected function buildFilters() |
|
| 56 | } |
||
| 57 |
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.