PHP Class App\Services\Deployment\QueueDeployCommander

Inheritance: implements App\Services\Deployment\DeployCommanderInterface
Show file Open project: ngmy/webloyer

Protected Properties

Property Type Description
$dispatcher

Public Methods

Method Description
__construct ( Illuminate\Contracts\Bus\Dispatcher $dispatcher )
deploy ( mixed $deployment ) : boolean Give the command to deploy
rollback ( mixed $deployment ) : boolean Give the command to rollback

Method Details

__construct() public method

public __construct ( Illuminate\Contracts\Bus\Dispatcher $dispatcher )
$dispatcher Illuminate\Contracts\Bus\Dispatcher

deploy() public method

Give the command to deploy
public deploy ( mixed $deployment ) : boolean
$deployment mixed
return boolean

rollback() public method

Give the command to rollback
public rollback ( mixed $deployment ) : boolean
$deployment mixed
return boolean

Property Details

$dispatcher protected property

protected $dispatcher