$client
$client : \Guzzle\Service\ClientInterface
Command factory used to create commands referencing concrete command classes
$client : \Guzzle\Service\ClientInterface
$inflector : \Guzzle\Inflection\InflectorInterface
__construct(\Guzzle\Service\ClientInterface $client, \Guzzle\Inflection\InflectorInterface $inflector = null)
\Guzzle\Service\ClientInterface | $client | Client that owns the commands |
\Guzzle\Inflection\InflectorInterface | $inflector | Inflector used to resolve class names |
factory(string $name, array $args = array()) : \Guzzle\Service\Command\CommandInterface|null
Create a command by name
string | $name | Command to create |
array | $args | Command arguments |