api/laravel/Foundation/Bootstrap/LoadEnvironmentVariables.yaml
2024-09-26 02:03:21 -07:00

89 lines
2 KiB
YAML

name: LoadEnvironmentVariables
class_comment: null
dependencies:
- name: Dotenv
type: class
source: Dotenv\Dotenv
- name: InvalidFileException
type: class
source: Dotenv\Exception\InvalidFileException
- name: Application
type: class
source: Illuminate\Contracts\Foundation\Application
- name: Env
type: class
source: Illuminate\Support\Env
- name: ArgvInput
type: class
source: Symfony\Component\Console\Input\ArgvInput
- name: ConsoleOutput
type: class
source: Symfony\Component\Console\Output\ConsoleOutput
properties: []
methods:
- name: bootstrap
visibility: public
parameters:
- name: app
comment: '# * Bootstrap the given application.
# *
# * @param \Illuminate\Contracts\Foundation\Application $app
# * @return void'
- name: checkForSpecificEnvironmentFile
visibility: protected
parameters:
- name: app
comment: '# * Detect if a custom environment file matching the APP_ENV exists.
# *
# * @param \Illuminate\Contracts\Foundation\Application $app
# * @return void'
- name: setEnvironmentFilePath
visibility: protected
parameters:
- name: app
- name: file
comment: '# * Load a custom environment file.
# *
# * @param \Illuminate\Contracts\Foundation\Application $app
# * @param string $file
# * @return bool'
- name: createDotenv
visibility: protected
parameters:
- name: app
comment: '# * Create a Dotenv instance.
# *
# * @param \Illuminate\Contracts\Foundation\Application $app
# * @return \Dotenv\Dotenv'
- name: writeErrorAndDie
visibility: protected
parameters:
- name: e
comment: '# * Write the error information to the screen and exit.
# *
# * @param \Dotenv\Exception\InvalidFileException $e
# * @return never'
traits:
- Dotenv\Dotenv
- Dotenv\Exception\InvalidFileException
- Illuminate\Contracts\Foundation\Application
- Illuminate\Support\Env
- Symfony\Component\Console\Input\ArgvInput
- Symfony\Component\Console\Output\ConsoleOutput
interfaces: []