class
Illuminate
/
Database
/
Console
/
DumpCommand
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
DumpCommand
Extends
Properties
protected
$signature string
The console command name.
Default: 'schema:dump
{--database= : The database connection to use}
{--path= : The path where the schema dump file should be stored}
{--prune : Delete all existing migration files}'
protected
$description string
The console command description.
Default: 'Dump the given database schema'
Methods
public
handle ( ConnectionResolverInterface $connections , Dispatcher $dispatcher ) : void
Execute the console command.
Parameters
- $connections ConnectionResolverInterface
- $dispatcher Dispatcher
protected
schemaState ( Connection $connection ) : mixed
Create a schema state instance for the given connection.
Parameters
- $connection Connection
protected
path ( Connection $connection ) : void
Get the path that the dump should be written to.
Parameters
- $connection Connection