1 | <?php |
||
12 | class ContentfulServiceProvider extends ServiceProvider implements IntegrationInterface, DeferrableProvider |
||
13 | { |
||
14 | /** |
||
15 | * Bootstrap the application services. |
||
16 | */ |
||
17 | public function boot() |
||
25 | |||
26 | /** |
||
27 | * Register the service provider. |
||
28 | */ |
||
29 | public function register() |
||
58 | |||
59 | /** |
||
60 | * Returns the name of the current integration. |
||
61 | * This value must be the one that is sent as part of |
||
62 | * the "X-Contentful-User-Agent" header to the API. |
||
63 | * |
||
64 | * @return string |
||
65 | */ |
||
66 | public function getIntegrationName(): string |
||
70 | |||
71 | /** |
||
72 | * Returns the package name of the current integration. |
||
73 | * This value must be the one defined in the "composer.json" file. |
||
74 | * |
||
75 | * @return string |
||
76 | */ |
||
77 | public function getIntegrationPackageName(): string |
||
81 | |||
82 | /** |
||
83 | * Get the services provided by the provider. |
||
84 | * |
||
85 | * @return array |
||
86 | */ |
||
87 | public function provides() |
||
91 | } |
||
92 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.