1 | <?php |
||
29 | class MainServiceProvider extends ServiceProviderAbstract |
||
30 | { |
||
31 | use FractalTrait; |
||
32 | use AutoLoaderTrait; |
||
33 | |||
34 | /** |
||
35 | * Port Service Providers |
||
36 | * |
||
37 | * @var array |
||
38 | */ |
||
39 | private $serviceProviders = [ |
||
|
|||
40 | FoundationServiceProvider::class, |
||
41 | DingoApiServiceProvider::class, |
||
42 | CorsServiceProvider::class, |
||
43 | RepositoryServiceProvider::class, |
||
44 | RoutesServiceProvider::class, |
||
45 | HashidsServiceProvider::class, |
||
46 | ]; |
||
47 | |||
48 | /** |
||
49 | * Port Aliases (mainly for third party packages) |
||
50 | * |
||
51 | * @var array |
||
52 | */ |
||
53 | protected $aliases = [ |
||
54 | 'Hashids' => Hashids::class, |
||
55 | ]; |
||
56 | |||
57 | /** |
||
58 | * Port Config directories |
||
59 | * |
||
60 | * @var array |
||
61 | */ |
||
62 | protected $portConfigsDirectories = [ |
||
63 | 'Config/Configs', |
||
64 | 'Queue/Configs', |
||
65 | 'HashId/Configs', |
||
66 | ]; |
||
67 | |||
68 | /** |
||
69 | * Port Migration directories |
||
70 | * |
||
71 | * @var array |
||
72 | */ |
||
73 | protected $portMigrationsDirectories = [ |
||
74 | 'Queue/Data/Migrations', |
||
75 | ]; |
||
76 | |||
77 | /** |
||
78 | * Port Console directories |
||
79 | * |
||
80 | * @var array |
||
81 | */ |
||
82 | protected $portConsolesDirectories = [ |
||
83 | |||
84 | ]; |
||
85 | |||
86 | |||
87 | /** |
||
88 | * Port Views directories |
||
89 | * |
||
90 | * @var array |
||
91 | */ |
||
92 | protected $portViewsDirectories = [ |
||
93 | |||
94 | ]; |
||
95 | |||
96 | /** |
||
97 | * Perform post-registration booting of services. |
||
98 | */ |
||
99 | public function boot() |
||
105 | |||
106 | /** |
||
107 | * Register bindings in the container. |
||
108 | */ |
||
109 | public function register() |
||
119 | |||
120 | } |
||
121 |
This check marks private properties in classes that are never used. Those properties can be removed.