PHP Class FluxBB\Console\Command

Inheritance: extends Illuminate\Console\Command
Show file Open project: fluxbb/core

Protected Properties

Property Type Description
$server FluxBB\Server\ServerInterface

Public Methods

Method Description
dispatch ( string $action, array $parameters = [] ) : array Let the FluxBB server execute the given action and return its response data.
setServer ( FluxBB\Server\ServerInterface $server )

Protected Methods

Method Description
fire ( )

Method Details

dispatch() public method

Let the FluxBB server execute the given action and return its response data.
public dispatch ( string $action, array $parameters = [] ) : array
$action string
$parameters array
return array

fire() abstract protected method

abstract protected fire ( )

setServer() public method

public setServer ( FluxBB\Server\ServerInterface $server )
$server FluxBB\Server\ServerInterface

Property Details

$server protected property

protected ServerInterface,FluxBB\Server $server
return FluxBB\Server\ServerInterface