| 1 | <?php |
||
| 7 | class DoctrineNamespaceEndpointFactory extends NamespaceEndpointFactory { |
||
| 8 | protected $entityManager; |
||
| 9 | |||
| 10 | public function __construct(string $endpointNamespace, EntityManager $em) { |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Basically assume endpoints are doctrine endpoints |
||
| 17 | * @param string $name |
||
| 18 | * @param string $version |
||
| 19 | * @return Endpoint |
||
| 20 | * @throws UnknownEndpointException |
||
| 21 | */ |
||
| 22 | public function getEndpoint(string $name, string $version): Endpoint { |
||
| 26 | } |
||
| 27 |