platform/api/laravel/Foundation/Bootstrap/RegisterProviders.yaml

72 lines
1.9 KiB
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: RegisterProviders
class_comment: null
dependencies:
- name: Application
type: class
source: Illuminate\Contracts\Foundation\Application
- name: ServiceProvider
type: class
source: Illuminate\Support\ServiceProvider
properties:
- name: merge
visibility: protected
comment: '# * The service providers that should be merged before registration.
# *
# * @var array'
- name: bootstrapProviderPath
visibility: protected
comment: '# * The path to the bootstrap provider configuration file.
# *
# * @var string|null'
methods:
- name: bootstrap
visibility: public
parameters:
- name: app
comment: "# * The service providers that should be merged before registration.\n\
# *\n# * @var array\n# */\n# protected static $merge = [];\n# \n# /**\n# * The\
\ path to the bootstrap provider configuration file.\n# *\n# * @var string|null\n\
# */\n# protected static $bootstrapProviderPath;\n# \n# /**\n# * Bootstrap the\
\ given application.\n# *\n# * @param \\Illuminate\\Contracts\\Foundation\\Application\
\ $app\n# * @return void"
- name: mergeAdditionalProviders
visibility: protected
parameters:
- name: app
comment: '# * Merge the additional configured providers into the configuration.
# *
# * @param \Illuminate\Foundation\Application $app'
- name: merge
visibility: public
parameters:
- name: providers
- name: bootstrapProviderPath
default: 'null'
comment: '# * Merge the given providers into the provider configuration before registration.
# *
# * @param array $providers
# * @param string|null $bootstrapProviderPath
# * @return void'
- name: flushState
visibility: public
parameters: []
comment: '# * Flush the bootstrapper''s global state.
# *
# * @return void'
traits:
- Illuminate\Contracts\Foundation\Application
- Illuminate\Support\ServiceProvider
interfaces: []