mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-05 02:39:47 +02:00
21 lines
426 B
PHP
21 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());
|
|
}
|