Class Guzzle\Service\Command\Factory\AliasFactory

InheritanceGuzzle\Service\Command\Factory\AliasFactory
ImplementsGuzzle\Service\Command\Factory\FactoryInterface

Command factory used when you need to provide aliases to commands

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$aliases array Associative array mapping command aliases to the aliased command Guzzle\Service\Command\Factory\AliasFactory
$client Guzzle\Service\ClientInterface Client used to retry using aliases Guzzle\Service\Command\Factory\AliasFactory

Property Details

$aliases protected property

Associative array mapping command aliases to the aliased command

protected array $aliases null
$client protected property

Client used to retry using aliases

Method Details

__construct() public method

public void __construct ( Guzzle\Service\ClientInterface $client, array $aliases )
$client Guzzle\Service\ClientInterface

Client used to retry with the alias

$aliases array

Associative array mapping aliases to the alias

factory() public method

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