PHP Class Devise\Support\Console\DeviseUpgradeCommand

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

Public Properties

Property Type Description
$io Command Input/output for this command

Protected Properties

Property Type Description
$description Necessary to let people know, in case the name wasn't clear enough.
$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
askAboutDifferences ( [type] $difference ) : [type] Get list of differences
copyErrorViewsToApplication ( ) : void Copies the error pages over to the application
copyFiles ( [type] $files, [type] $target, [type] $source ) : [type] Copies all these files from target to source
copyPublicAssets ( ) : void Copies the public assets over to the application
io ( ) : [type] Makes an io connection

Method Details

__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

askAboutDifferences() protected method

Get list of differences
protected askAboutDifferences ( [type] $difference ) : [type]
$difference [type]
return [type]

copyErrorViewsToApplication() protected method

Copies the error pages over to the application
protected copyErrorViewsToApplication ( ) : void
return void

copyFiles() protected method

Copies all these files from target to source
protected copyFiles ( [type] $files, [type] $target, [type] $source ) : [type]
$files [type]
$target [type]
$source [type]
return [type]

copyPublicAssets() protected method

Copies the public assets over to the application
protected copyPublicAssets ( ) : void
return void

handle() public method

Run the package migrations.
public handle ( )

io() protected method

Makes an io connection
protected io ( ) : [type]
return [type]

Property Details

$description protected_oe property

Necessary to let people know, in case the name wasn't clear enough.
protected $description

$io public_oe property

Input/output for this command
public Command $io
return Command

$name protected_oe property

Name of the command.
protected $name