PHP Class Altax\Module\Task\Resource\RuntimeTask

Show file Open project: kohkimakimoto/altax Class Usage Examples

Protected Properties

Property Type Description
$input
$output
$task

Public Methods

Method Description
__construct ( $command, $task, $input, $output )
call ( $taskName, $arguments = [] )
exec ( $closure, $options = [] )
getArgument ( $index, $default = null )
getArguments ( )
getCommand ( )
getConfig ( )
getInput ( )
getOutput ( )
setInput ( $input )
setOutput ( $output )
write ( $string )
writeln ( $string )

Method Details

__construct() public method

public __construct ( $command, $task, $input, $output )

call() public method

public call ( $taskName, $arguments = [] )

exec() public method

public exec ( $closure, $options = [] )

getArgument() public method

public getArgument ( $index, $default = null )

getArguments() public method

public getArguments ( )

getCommand() public method

public getCommand ( )

getConfig() public method

public getConfig ( )

getInput() public method

public getInput ( )

getOutput() public method

public getOutput ( )

setInput() public method

public setInput ( $input )

setOutput() public method

public setOutput ( $output )

write() public method

public write ( $string )

writeln() public method

public writeln ( $string )

Property Details

$input protected property

protected $input

$output protected property

protected $output

$task protected property

protected $task