115 lines
2.3 KiB
YAML
115 lines
2.3 KiB
YAML
name: MySqlSchemaState
|
|
class_comment: null
|
|
dependencies:
|
|
- name: Exception
|
|
type: class
|
|
source: Exception
|
|
- name: Connection
|
|
type: class
|
|
source: Illuminate\Database\Connection
|
|
- name: Str
|
|
type: class
|
|
source: Illuminate\Support\Str
|
|
- name: Process
|
|
type: class
|
|
source: Symfony\Component\Process\Process
|
|
properties: []
|
|
methods:
|
|
- name: dump
|
|
visibility: public
|
|
parameters:
|
|
- name: connection
|
|
- name: path
|
|
comment: '# * Dump the database''s schema into a file.
|
|
|
|
# *
|
|
|
|
# * @param \Illuminate\Database\Connection $connection
|
|
|
|
# * @param string $path
|
|
|
|
# * @return void'
|
|
- name: removeAutoIncrementingState
|
|
visibility: protected
|
|
parameters:
|
|
- name: path
|
|
comment: '# * Remove the auto-incrementing state from the given schema dump.
|
|
|
|
# *
|
|
|
|
# * @param string $path
|
|
|
|
# * @return void'
|
|
- name: appendMigrationData
|
|
visibility: protected
|
|
parameters:
|
|
- name: path
|
|
comment: '# * Append the migration data to the schema dump.
|
|
|
|
# *
|
|
|
|
# * @param string $path
|
|
|
|
# * @return void'
|
|
- name: load
|
|
visibility: public
|
|
parameters:
|
|
- name: path
|
|
comment: '# * Load the given schema file into the database.
|
|
|
|
# *
|
|
|
|
# * @param string $path
|
|
|
|
# * @return void'
|
|
- name: baseDumpCommand
|
|
visibility: protected
|
|
parameters: []
|
|
comment: '# * Get the base dump command arguments for MySQL as a string.
|
|
|
|
# *
|
|
|
|
# * @return string'
|
|
- name: connectionString
|
|
visibility: protected
|
|
parameters: []
|
|
comment: '# * Generate a basic connection string (--socket, --host, --port, --user,
|
|
--password) for the database.
|
|
|
|
# *
|
|
|
|
# * @return string'
|
|
- name: baseVariables
|
|
visibility: protected
|
|
parameters:
|
|
- name: config
|
|
comment: '# * Get the base variables for a dump / load command.
|
|
|
|
# *
|
|
|
|
# * @param array $config
|
|
|
|
# * @return array'
|
|
- name: executeDumpProcess
|
|
visibility: protected
|
|
parameters:
|
|
- name: process
|
|
- name: output
|
|
- name: variables
|
|
comment: '# * Execute the given dump process.
|
|
|
|
# *
|
|
|
|
# * @param \Symfony\Component\Process\Process $process
|
|
|
|
# * @param callable $output
|
|
|
|
# * @param array $variables
|
|
|
|
# * @return \Symfony\Component\Process\Process'
|
|
traits:
|
|
- Exception
|
|
- Illuminate\Database\Connection
|
|
- Illuminate\Support\Str
|
|
- Symfony\Component\Process\Process
|
|
interfaces: []
|