class Illuminate / Database / Console / WipeCommand
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

WipeCommand

Extends

Uses

Properties

protected

$name string

The console command name.

Default: 'db:wipe'
protected

$description string

The console command description.

Default: 'Drop all tables, views, and types'

Methods

public

handle ( ) : int

Execute the console command.

protected

dropAllTables ( $database ) : void

Drop all of the database tables.

Parameters

  • $database string
protected

dropAllViews ( $database ) : void

Drop all of the database views.

Parameters

  • $database string
protected

dropAllTypes ( $database ) : void

Drop all of the database types.

Parameters

  • $database string
protected

getOptions ( ) : array

Get the console command options.