PHP 클래스 Kdyby\Doctrine\Registry

저자: Filip Procházka ([email protected])
상속: extends Doctrine\Common\Persistence\AbstractManagerRegistry
파일 보기 프로젝트 열기: kdyby/doctrine 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( array $connections, array $managers, $defaultConnection, $defaultManager, Container $serviceLocator )
getAliasNamespace ( string $alias ) : string Resolves a registered namespace alias to the full namespace.

보호된 메소드들

메소드 설명
getService ( string $name ) : object Fetches/creates the given services.
resetService ( string $name ) : void Resets the given services.

메소드 상세

__construct() 공개 메소드

public __construct ( array $connections, array $managers, $defaultConnection, $defaultManager, Container $serviceLocator )
$connections array
$managers array
$serviceLocator Nette\DI\Container

getAliasNamespace() 공개 메소드

This method looks for the alias in all registered entity managers.
또한 보기: Doctrine\ORM\Configuration::getEntityNamespace
public getAliasNamespace ( string $alias ) : string
$alias string The alias
리턴 string The full namespace

getService() 보호된 메소드

A service in this context is connection or a manager instance.
protected getService ( string $name ) : object
$name string The name of the service.
리턴 object The instance of the given service.

resetService() 보호된 메소드

A service in this context is connection or a manager instance.
protected resetService ( string $name ) : void
$name string The name of the service.
리턴 void