PHP Interface Phrozn\Runner\CommandLine\Callback

Author: Victor Farazdagi
Afficher le fichier Open project: farazdagi/phrozn

Méthodes publiques

Méthode 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 méthode

Executes the callback action
public execute ( ) : string
Résultat string

getParseResult() public méthode

Get parsed result object
public getParseResult ( ) : Console_CommandLine_Result
Résultat Console_CommandLine_Result

setParseResult() public méthode

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