Interface FactoryInterface
Interface for creating commands by name
Direct known implementers
Guzzle\Service\Command\Factory\AliasFactory
,
Guzzle\Service\Command\Factory\CompositeFactory
,
Guzzle\Service\Command\Factory\ConcreteClassFactory
,
Guzzle\Service\Command\Factory\MapFactory
,
Guzzle\Service\Command\Factory\ServiceDescriptionFactory
Namespace: Guzzle\Service\Command\Factory
Located at Guzzle/Service/Command/Factory/FactoryInterface.php
Located at Guzzle/Service/Command/Factory/FactoryInterface.php
Methods summary
-
public
factory ( string $name, array $args = array() )
Create a command by name
Methods detail
#
public
Guzzle\Service\Command\CommandInterface
|null
factory( string $name, array $args = array() )
Create a command by name
Parameters
- $name
string
$name Command to create- $args
array
$args Command arguments