<?php
namespace GuzzleServiceCommandFactory;
use GuzzleServiceCommandCommandInterface;
/**
* 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());
}