PHP Class Devise\Support\Console\DeviseResetCommand

Inheritance: extends Command
Datei anzeigen Open project: devisephp/cms

Public Properties

Property Type Description
$Schema null [$Schema description]

Protected Properties

Property Type Description
$description Description of reset-project command
$excludeTables array [$excludeTables description]
$name Name of the command.

Public Methods

Method Description
__construct ( Illuminate\Container\Container $app ) Setup the application container as we'll need this for running migrations.
handle ( ) Run the package migrations.

Protected Methods

Method Description
Schema ( ) Schema

Private Methods

Method Description
askAboutExcludingUsersTable ( boolean $default = 'yes' ) : boolean Prompt for asking which tables to include in excludeTables array
askAboutRefreshingDatabase ( boolean $default = 'yes' ) : boolean Prompt for wiping and re-populating the current database
dropDatabaseTables ( ) : Void Truncates all tables in current database except for any listed in the class property excludeTables.

Method Details

Schema() protected method

Schema
protected Schema ( )

__construct() public method

Setup the application container as we'll need this for running migrations.
public __construct ( Illuminate\Container\Container $app )
$app Illuminate\Container\Container

handle() public method

Run the package migrations.
public handle ( )

Property Details

$Schema public_oe property

[$Schema description]
public null $Schema
return null

$description protected_oe property

Description of reset-project command
protected $description

$excludeTables protected_oe property

[$excludeTables description]
protected array $excludeTables
return array

$name protected_oe property

Name of the command.
protected $name