class
Illuminate
/
Database
/
Schema
/
SchemaState
abstract
SchemaState
Properties
protected
$migrationTable string
The name of the application's migration table.
Default: 'migrations'
protected
$processFactory callable
The process factory callback.
Default: null
protected
$output callable
The output callable instance.
Default: null
Methods
public
__construct ( Connection $connection , Filesystem $files , callable $processFactory ) : void
Create a new dumper instance.
Parameters
- $connection Connection
- $files Filesystem |null
- $processFactory callable|null
public
abstract
dump ( Connection $connection , $path ) : void
Dump the database's schema into a file.
Parameters
- $connection Connection
- $path string
public
abstract
load ( $path ) : void
Load the given schema file into the database.
Parameters
- $path string
public
makeProcess ( $arguments ) : Symfony\...\Process
Create a new process instance.
Parameters
- $arguments mixed
public
withMigrationTable ( string $table ) : $this
Specify the name of the application's migration table.
Parameters
- $table string
public
handleOutputUsing ( callable $output ) : $this
Specify the callback that should be used to handle process output.
Parameters
- $output callable