1 | <?php |
||||||
2 | |||||||
3 | namespace BukanKalengKaleng\LaravelEntity; |
||||||
4 | |||||||
5 | use BukanKalengKaleng\LaravelEntity\Console\Commands\EntityMake; |
||||||
6 | use Illuminate\Support\ServiceProvider; |
||||||
7 | |||||||
8 | class LaravelEntityServiceProvider extends ServiceProvider |
||||||
9 | { |
||||||
10 | /** |
||||||
11 | * Bootstrap services. |
||||||
12 | * |
||||||
13 | * @return void |
||||||
14 | */ |
||||||
15 | public function boot() |
||||||
16 | { |
||||||
17 | if ($this->app->runningInConsole()) { |
||||||
0 ignored issues
–
show
|
|||||||
18 | $this->commands([EntityMake::class]); |
||||||
0 ignored issues
–
show
The method
commands() does not exist on BukanKalengKaleng\Larave...elEntityServiceProvider .
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
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. ![]() |
|||||||
19 | } |
||||||
20 | |||||||
21 | $this->publishes([ |
||||||
0 ignored issues
–
show
The method
publishes() does not exist on BukanKalengKaleng\Larave...elEntityServiceProvider .
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
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. ![]() |
|||||||
22 | __DIR__.'/../config/entity.php' => config_path('entity.php'), |
||||||
23 | ], 'laravel-entity'); |
||||||
24 | |||||||
25 | $this->mergeConfigFrom(__DIR__.'/../config/entity.php', 'entity'); |
||||||
0 ignored issues
–
show
The method
mergeConfigFrom() does not exist on BukanKalengKaleng\Larave...elEntityServiceProvider .
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
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. ![]() |
|||||||
26 | } |
||||||
27 | |||||||
28 | /** |
||||||
29 | * Register services. |
||||||
30 | * |
||||||
31 | * @return void |
||||||
32 | */ |
||||||
33 | public function register() |
||||||
34 | { |
||||||
35 | // |
||||||
36 | } |
||||||
37 | } |
||||||
38 |
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.