Interface Guzzle\Service\Command\Factory\FactoryInterface

Implemented byGuzzle\Service\Command\Factory\AliasFactory, Guzzle\Service\Command\Factory\CompositeFactory, Guzzle\Service\Command\Factory\ConcreteClassFactory, Guzzle\Service\Command\Factory\MapFactory, Guzzle\Service\Command\Factory\ServiceDescriptionFactory

Interface for creating commands by name

Public Methods

Hide inherited methods

MethodDescriptionDefined By
factory() Create a command by name Guzzle\Service\Command\Factory\FactoryInterface

Method Details

factory() public abstract method

Create a command by name

public abstract Guzzle\Service\Command\CommandInterface|null factory ( $name, array $args = [] )
$name string

Command to create

$args array

Command arguments