Symfony\Bridge\Doctrine\DependencyInjection\CompilerPass\RegisterMappingsPass::getDriver
Create the service definition for the metadata driver.
Signature
protected function getDriver(ContainerBuilder
$container )
Parameters
$container
— Symfony\Component\DependencyInjection\ContainerBuilder- passed on in case an extending class
needs access to the container.
Returns
- Definition|Reference
- the metadata driver to add to all chain drivers