App::bootDoctrine

Usage

EntityManager App::bootDoctrine()

Description

If you're using Doctrine entity classes or migrations within your system, this method will return an instance of the EntityManager.

Return Value

An instance of the EntityManager object from within Doctrine.

Examples

Boot Doctrine


$manager = $app->bootDoctrine();

See Also