PHP Class Bolt\Storage\LazyEntityManager

Author: Gawain Lynch ([email protected])
Inheritance: implements Bolt\Storage\EntityManagerInterface
Datei anzeigen Open project: bolt/bolt

Public Methods

Method Description
__construct ( callable $factory ) Constructor.
getEntityManager ( ) : EntityManager
getRepository ( $className )

Method Details

__construct() public method

Constructor.
public __construct ( callable $factory )
$factory callable Should return EntityManager when invoked

getEntityManager() public method

public getEntityManager ( ) : EntityManager
return EntityManager

getRepository() public method

public getRepository ( $className )