1 | <?php |
||
22 | class CommandFactory implements CommandFactoryInterface |
||
23 | { |
||
24 | |||
25 | |||
26 | |||
27 | /** |
||
28 | * @var LoaderInterface $loader |
||
29 | */ |
||
30 | private $loader; |
||
31 | |||
32 | |||
33 | |||
34 | /** |
||
35 | * CommandFactory constructor |
||
36 | * |
||
37 | * @param LoaderInterface $loader |
||
38 | * @throws InvalidDataTypeException |
||
39 | * @throws InvalidInterfaceException |
||
40 | * @throws InvalidArgumentException |
||
41 | */ |
||
42 | public function __construct(LoaderInterface $loader = null) |
||
46 | |||
47 | |||
48 | |||
49 | /** |
||
50 | * @param string $command_fqcn |
||
51 | * @param array $arguments |
||
52 | * @return mixed |
||
53 | * @throws InvalidArgumentException |
||
54 | * @throws InvalidDataTypeException |
||
55 | * @throws InvalidInterfaceException |
||
56 | */ |
||
57 | public function getNew($command_fqcn, $arguments = array()) |
||
61 | |||
62 | |||
63 | |||
64 | } |
||
65 | // End of file CommandFactory.php |
||
66 | // Location: EventEspresso\core\services\commands/CommandFactory.php |