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

121 lines
2.4 KiB
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: LoadConfiguration
class_comment: null
dependencies:
- name: Repository
type: class
source: Illuminate\Config\Repository
- name: RepositoryContract
type: class
source: Illuminate\Contracts\Config\Repository
- name: Application
type: class
source: Illuminate\Contracts\Foundation\Application
- name: SplFileInfo
type: class
source: SplFileInfo
- name: Finder
type: class
source: Symfony\Component\Finder\Finder
properties: []
methods:
- name: bootstrap
visibility: public
parameters:
- name: app
comment: '# * Bootstrap the given application.
# *
# * @param \Illuminate\Contracts\Foundation\Application $app
# * @return void'
- name: loadConfigurationFiles
visibility: protected
parameters:
- name: app
- name: repository
comment: '# * Load the configuration items from all of the files.
# *
# * @param \Illuminate\Contracts\Foundation\Application $app
# * @param \Illuminate\Contracts\Config\Repository $repository
# * @return void
# *
# * @throws \Exception'
- name: loadConfigurationFile
visibility: protected
parameters:
- name: repository
- name: name
- name: path
- name: base
comment: '# * Load the given configuration file.
# *
# * @param \Illuminate\Contracts\Config\Repository $repository
# * @param string $name
# * @param string $path
# * @param array $base
# * @return array'
- name: mergeableOptions
visibility: protected
parameters:
- name: name
comment: '# * Get the options within the configuration file that should be merged
again.
# *
# * @param string $name
# * @return array'
- name: getConfigurationFiles
visibility: protected
parameters:
- name: app
comment: '# * Get all of the configuration files for the application.
# *
# * @param \Illuminate\Contracts\Foundation\Application $app
# * @return array'
- name: getNestedDirectory
visibility: protected
parameters:
- name: file
- name: configPath
comment: '# * Get the configuration file nesting path.
# *
# * @param \SplFileInfo $file
# * @param string $configPath
# * @return string'
- name: getBaseConfiguration
visibility: protected
parameters: []
comment: '# * Get the base configuration files.
# *
# * @return array'
traits:
- Illuminate\Config\Repository
- Illuminate\Contracts\Foundation\Application
- SplFileInfo
- Symfony\Component\Finder\Finder
interfaces: []