PHP Class Atrauzzi\LaravelDoctrine\DoctrineRegistry

Provides easier integration with third party libraries such as DoctrineBridge (https://github.com/symfony/DoctrineBridge).
Inheritance: extends Doctrine\Common\Persistence\AbstractManagerRegistry
Datei anzeigen Open project: atrauzzi/laravel-doctrine

Public Methods

Method Description
getAliasNamespace ( string $namespaceAlias ) : string | void
getManagerForClass ( string $class ) : mixed | object
getService ( $name ) Returns the service name, for our purposes this will almost always return the Doctrine facade, our access to the entity manager.
resetService ( string $name )

Method Details

getAliasNamespace() public method

public getAliasNamespace ( string $namespaceAlias ) : string | void
$namespaceAlias string
return string | void

getManagerForClass() public method

public getManagerForClass ( string $class ) : mixed | object
$class string
return mixed | object

getService() public method

Returns the service name, for our purposes this will almost always return the Doctrine facade, our access to the entity manager.
public getService ( $name )

resetService() public method

public resetService ( string $name )
$name string