PHP Interface Phrozn\Runner\CommandLine\Callback

Author: Victor Farazdagi
Show file Open project: farazdagi/phrozn

Public Methods

Method Description
execute ( ) : string Executes the callback action
getParseResult ( ) : Console_CommandLine_Result Get parsed result object
setParseResult ( Console_CommandLine_Result $result ) : Phrozn\Runner\CommandLine\Callback Result object of CLI input parsing

Method Details

execute() public method

Executes the callback action
public execute ( ) : string
return string

getParseResult() public method

Get parsed result object
public getParseResult ( ) : Console_CommandLine_Result
return Console_CommandLine_Result

setParseResult() public method

Result object of CLI input parsing
public setParseResult ( Console_CommandLine_Result $result ) : Phrozn\Runner\CommandLine\Callback
$result Console_CommandLine_Result Parser's result
return Phrozn\Runner\CommandLine\Callback