Cli

Methods Summary
public
# __construct( Zend\Log\LoggerInterface $logger , string $executeStrategy )
public
# getCommandPath( string $command )
Get a command path. Returns the path to the provided command or boolean false if the command is not found.
public
# validateCommand( string $commandDir , string $command = NULL )
Verfy that a command exists and is executable.
public
# execute( string $command )
Execute a command. Expects arguments to be properly escaped.
public
# exec( string $command )
Execute command using PHP's exec function.

link

public
# procOpen( string $command )
Execute command using PHP's proc_open function. For servers that allow proc_open. Logs standard error.

link

Properties Summary
protected Zend\Log\LoggerInterface $logger
# NULL
protected string $executeStrategy
# NULL