class Illuminate / Database / Console / DumpCommand

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

protected

schemaState ( Connection $connection ) : mixed

Create a schema state instance for the given connection.

Parameters

protected

path ( Connection $connection ) : void

Get the path that the dump should be written to.

Parameters