mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2024-11-23 21:16:02 +03:00
22 lines
426 B
PHP
22 lines
426 B
PHP
|
<?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());
|
||
|
}
|