PHP Class Phrozn\Runner\CommandLine

Author: Victor Farazdagi
Inheritance: implements Phrozn\Runner
Afficher le fichier Open project: farazdagi/phrozn Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( Autoloader $loader ) Create runner
run ( array $params = null ) : void Process the request

Private Methods

Méthode Description
invoke ( $callback, $data ) Invoke callback
parse ( ) : void Parse input and invoke necessary processor callback

Method Details

__construct() public méthode

Create runner
public __construct ( Autoloader $loader )
$loader Phrozn\Autoloader Instance of auto-loader

run() public méthode

Process the request
public run ( array $params = null ) : void
$params array Runner options
Résultat void