diff options
Diffstat (limited to 'vendor/guzzle/guzzle/src/Guzzle/Service/Command/Factory/FactoryInterface.php')
-rw-r--r-- | vendor/guzzle/guzzle/src/Guzzle/Service/Command/Factory/FactoryInterface.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/vendor/guzzle/guzzle/src/Guzzle/Service/Command/Factory/FactoryInterface.php b/vendor/guzzle/guzzle/src/Guzzle/Service/Command/Factory/FactoryInterface.php new file mode 100644 index 0000000..35c299d --- /dev/null +++ b/vendor/guzzle/guzzle/src/Guzzle/Service/Command/Factory/FactoryInterface.php @@ -0,0 +1,21 @@ +<?php + +namespace Guzzle\Service\Command\Factory; + +use Guzzle\Service\Command\CommandInterface; + +/** + * Interface for creating commands by name + */ +interface FactoryInterface +{ + /** + * Create a command by name + * + * @param string $name Command to create + * @param array $args Command arguments + * + * @return CommandInterface|null + */ + public function factory($name, array $args = array()); +} |