AbstractAssetCommand
extends Command
in package
AbstractYes
Table of Contents
Properties
- $name : string|null
Methods
- __construct() : mixed
- createAssetUrl() : FarahUrl
- determineExitCode() : int
- execute() : int
Properties
$name read-only
public
string|null
$name
= null
Methods
__construct()
public
__construct(AssetExecutorInterface $executor[, string|null $name = null ][, JUnitReporter|null $reporter = null ]) : mixed
Parameters
- $executor : AssetExecutorInterface
- $name : string|null = null
- $reporter : JUnitReporter|null = null
createAssetUrl()
protected
abstract createAssetUrl(InputInterface $input) : FarahUrl
Parameters
- $input : InputInterface
Return values
FarahUrldetermineExitCode()
protected
determineExitCode(AssetExecutionResult $result) : int
Parameters
- $result : AssetExecutionResult
Return values
intexecute()
protected
execute(InputInterface $input, OutputInterface $output) : int
Parameters
- $input : InputInterface
- $output : OutputInterface