Issues (5)

config/service-generator.php (1 issue)

Labels
Severity
1
<?php
2
3
return [
4
5
    /*
6
    |--------------------------------------------------------------------------
7
    | Services namespaces and locations
8
    |--------------------------------------------------------------------------
9
    |
10
    | We might want to divide the services used in our app in different folders
11
    | and namespaces. For instance, you might have services that are used only
12
    | by your backend app, while other services might be shared between your
13
    | backend app and your frontend web app.
14
    |
15
    | Please specify here the different namespaces and locations here.
16
    |
17
    */
18
    'groups' => [
19
        'App\MyApp\Services\Frontend' => app_path('MyApp/Services/Frontend'),
0 ignored issues
show
The function app_path was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

19
        'App\MyApp\Services\Frontend' => /** @scrutinizer ignore-call */ app_path('MyApp/Services/Frontend'),
Loading history...
20
        'App\MyApp\Services\Backend' => app_path('MyApp/Services/Backend'),
21
        'App\MyApp\Services\Shared' => app_path('MyApp/Services/Shared'),
22
    ],
23
];