PHP Class Devise\Support\Console\DeviseResetCommand

Inheritance: extends Command
Afficher le fichier Open project: devisephp/cms

Méthodes publiques

Свойство Type Description
$Schema null [$Schema description]

Protected Properties

Свойство Type Description
$description Description of reset-project command
$excludeTables array [$excludeTables description]
$name Name of the command.

Méthodes publiques

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

Méthodes protégées

Méthode Description
Schema ( ) Schema

Private Methods

Méthode 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 méthode

Schema
protected Schema ( )

__construct() public méthode

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

handle() public méthode

Run the package migrations.
public handle ( )

Property Details

$Schema public_oe property

[$Schema description]
public null $Schema
Résultat null

$description protected_oe property

Description of reset-project command
protected $description

$excludeTables protected_oe property

[$excludeTables description]
protected array $excludeTables
Résultat array

$name protected_oe property

Name of the command.
protected $name