Symfony\Bundle\FrameworkBundle\Controller\Controller::getDoctrine
Shortcut to return the Doctrine Registry service.
Signature
public function getDoctrine()
Returns
- Registry
Errors/Exceptions
-
LogicException
- If DoctrineBundle is not available