$description
$description : \Guzzle\Service\Description\ServiceDescriptionInterface
Command factory used to create commands based on service descriptions
$description : \Guzzle\Service\Description\ServiceDescriptionInterface
$inflector : \Guzzle\Inflection\InflectorInterface
__construct(\Guzzle\Service\Description\ServiceDescriptionInterface $description, \Guzzle\Inflection\InflectorInterface $inflector = null)
\Guzzle\Service\Description\ServiceDescriptionInterface | $description | Service description |
\Guzzle\Inflection\InflectorInterface | $inflector | Optional inflector to use if the command is not at first found |
setServiceDescription(\Guzzle\Service\Description\ServiceDescriptionInterface $description) : \Guzzle\Service\Command\Factory\FactoryInterface
Change the service description used with the factory
\Guzzle\Service\Description\ServiceDescriptionInterface | $description | Service description to use |
getServiceDescription() : \Guzzle\Service\Description\ServiceDescriptionInterface
Returns the service description
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 |