PHP 클래스 Doctrine\Common\Persistence\AbstractManagerRegistry

부터: 2.2
저자: Fabien Potencier ([email protected])
저자: Benjamin Eberlei ([email protected])
저자: Lukas Kahwe Smith ([email protected])
상속: implements Doctrine\Common\Persistence\ManagerRegistry
파일 보기 프로젝트 열기: doctrine/common 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( string $name, array $connections, array $managers, string $defaultConnection, string $defaultManager, string $proxyInterfaceName ) Constructor.
getConnection ( $name = null )
getConnectionNames ( )
getConnections ( )
getDefaultConnectionName ( )
getDefaultManagerName ( )
getManager ( $name = null )
getManagerForClass ( $class )
getManagerNames ( )
getManagers ( )
getName ( ) : string Gets the name of the registry.
getRepository ( $persistentObjectName, $persistentManagerName = null )
resetManager ( $name = null )

보호된 메소드들

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

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( string $name, array $connections, array $managers, string $defaultConnection, string $defaultManager, string $proxyInterfaceName )
$name string
$connections array
$managers array
$defaultConnection string
$defaultManager string
$proxyInterfaceName string

getConnection() 공개 메소드

public getConnection ( $name = null )

getConnectionNames() 공개 메소드

public getConnectionNames ( )

getConnections() 공개 메소드

public getConnections ( )

getDefaultConnectionName() 공개 메소드

getDefaultManagerName() 공개 메소드

getManager() 공개 메소드

public getManager ( $name = null )

getManagerForClass() 공개 메소드

public getManagerForClass ( $class )

getManagerNames() 공개 메소드

public getManagerNames ( )

getManagers() 공개 메소드

public getManagers ( )

getName() 공개 메소드

Gets the name of the registry.
public getName ( ) : string
리턴 string

getRepository() 공개 메소드

public getRepository ( $persistentObjectName, $persistentManagerName = null )

getService() 추상적인 보호된 메소드

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

resetManager() 공개 메소드

public resetManager ( $name = null )

resetService() 추상적인 보호된 메소드

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