1 | <?php |
||
8 | class HashidServiceProvider extends ServiceProvider |
||
9 | { |
||
10 | /** |
||
11 | * Indicates if loading of the provider is deferred. |
||
12 | * |
||
13 | * @var bool |
||
14 | */ |
||
15 | protected $defer = true; |
||
16 | |||
17 | /** |
||
18 | * Register the service provider. |
||
19 | * |
||
20 | * @return void |
||
21 | */ |
||
22 | 7 | public function register() |
|
29 | |||
30 | /** |
||
31 | * Setup package assets. |
||
32 | * |
||
33 | * @return void |
||
34 | */ |
||
35 | 7 | protected function setupAssets() |
|
47 | |||
48 | /** |
||
49 | * Register service bindings. |
||
50 | * |
||
51 | * @return void |
||
52 | */ |
||
53 | 7 | protected function registerServices() |
|
67 | |||
68 | /** |
||
69 | * Create a new instance from class name. |
||
70 | * |
||
71 | * @param string $class |
||
72 | * @param array $args |
||
73 | * @return mixed |
||
74 | */ |
||
75 | 5 | protected function createInstance($class, array $args = []) |
|
85 | |||
86 | /** |
||
87 | * Get singleton bindings to be registered. |
||
88 | * |
||
89 | * @return array |
||
90 | */ |
||
91 | 7 | protected function getSingletonBindings() |
|
101 | |||
102 | /** |
||
103 | * Get class aliases to be registered. |
||
104 | * |
||
105 | * @return array |
||
106 | */ |
||
107 | 7 | protected function getClassAliases() |
|
118 | |||
119 | /** |
||
120 | * Register console commands. |
||
121 | * |
||
122 | * @return void |
||
123 | */ |
||
124 | 7 | protected function registerCommands() |
|
133 | |||
134 | /** |
||
135 | * Get the services provided by the provider. |
||
136 | * |
||
137 | * @return string[] |
||
138 | */ |
||
139 | 3 | public function provides() |
|
146 | } |
||
147 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.