class Illuminate / Database / Console / DumpCommand
You are viewing an older version of the documentation. For the latest, please visit master documentation.

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 ) : int

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