PHP Class App\Console\Commands\Site

Author: XE Developers ([email protected])
Inheritance: extends Illuminate\Console\Command
Show file Open project: xpressengine/xpressengine

Protected Properties

Property Type Description
$description string The console command description.
$handler Xpressengine\Site\SiteHandler
$name string The name and signature of the console command.

Public Methods

Method Description
__construct ( SiteHandler $handler )
handle ( ) : mixed Execute the console command.

Protected Methods

Method Description
getArguments ( ) : array Get the console command arguments.
getOptions ( ) : array Get the console command options.

Private Methods

Method Description
validateHost ( string $host ) : string validateHost

Method Details

__construct() public method

public __construct ( SiteHandler $handler )
$handler Xpressengine\Site\SiteHandler site handler

getArguments() protected method

Get the console command arguments.
protected getArguments ( ) : array
return array

getOptions() protected method

Get the console command options.
protected getOptions ( ) : array
return array

handle() public method

Execute the console command.
public handle ( ) : mixed
return mixed

Property Details

$description protected property

The console command description.
protected string $description
return string

$handler protected property

protected SiteHandler,Xpressengine\Site $handler
return Xpressengine\Site\SiteHandler

$name protected property

The name and signature of the console command.
protected string $name
return string