Class Guzzle\Service\Command\Factory\ConcreteClassFactory

InheritanceGuzzle\Service\Command\Factory\ConcreteClassFactory
ImplementsGuzzle\Service\Command\Factory\FactoryInterface

Command factory used to create commands referencing concrete command classes

Property Details

$client protected property
$inflector protected property

Method Details

__construct() public method

public void __construct ( Guzzle\Service\ClientInterface $client, Guzzle\Inflection\InflectorInterface $inflector null )
$client Guzzle\Service\ClientInterface

Client that owns the commands

$inflector Guzzle\Inflection\InflectorInterface

Inflector used to resolve class names

factory() public method

public void factory ( $name, array $args = [] )
$name
$args