Class Guzzle\Service\Command\Factory\MapFactory

InheritanceGuzzle\Service\Command\Factory\MapFactory
ImplementsGuzzle\Service\Command\Factory\FactoryInterface

Command factory used when explicitly mapping strings to command classes

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$map array Associative array mapping command names to classes Guzzle\Service\Command\Factory\MapFactory

Property Details

$map protected property

Associative array mapping command names to classes

protected array $map null

Method Details

__construct() public method

public void __construct ( array $map )
$map array

Associative array mapping command names to classes

factory() public method

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