| 1 | <?php |
||
| 11 | final class ContainerApiFactory implements ApiFactoryRegistryInterface |
||
| 12 | { |
||
| 13 | /** @var ContainerInterface */ |
||
| 14 | private $container; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * ContainerApiFactory constructor. |
||
| 18 | * |
||
| 19 | * @param ContainerInterface $container |
||
| 20 | */ |
||
| 21 | 4 | public function __construct(ContainerInterface $container) |
|
| 25 | |||
| 26 | /** {@inheritdoc} */ |
||
| 27 | public function create($alias, RpcClientInterface $client, ApiMetadata $metadata) |
||
| 34 | |||
| 35 | /** {@inheritdoc} */ |
||
| 36 | public function has($alias) |
||
| 40 | } |
||
| 41 |