PHP 클래스 Kdyby\Doctrine\DI\OrmExtension

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

공개 프로퍼티들

프로퍼티 타입 설명
$connectionDefaults array
$managerDefaults array
$metadataDriverClasses array

공개 메소드들

메소드 설명
afterCompile ( ClassType $class )
beforeCompile ( )
loadConfiguration ( )
register ( Configurator $configurator )

보호된 메소드들

메소드 설명
getServiceBoundManagers ( ServiceDefinition $def ) : string[]
loadConsole ( )
processCache ( string | stdClass $cache, string $suffix ) : string
processConnection ( $name, array $defaults, $isDefault = FALSE )
processEntityManager ( $name, array $defaults )
processEventManagers ( )
processMetadataDriver ( ServiceDefinition $metadataDriver, string $namespace, string | object $driver, string $prefix ) : string
processRepositories ( )
processRepositoryFactoryEntities ( ClassType $class )
processSecondLevelCache ( $name, array $config, $isDefault )

비공개 메소드들

메소드 설명
addCollapsePathsToTracy ( Method $init )
evalAndInstantiateContainer ( ClassType $class ) : Container
isKdybyEventsPresent ( ) : boolean
isTracyPresent ( ) : boolean
natSortKeys ( array &$array )
normalizeTargetEntityMappings ( array $targetEntityMappings ) : array
resolveConfig ( array $provided, array $defaults, array $diff = [] ) : array

메소드 상세

afterCompile() 공개 메소드

public afterCompile ( ClassType $class )
$class Nette\PhpGenerator\ClassType

beforeCompile() 공개 메소드

public beforeCompile ( )

getServiceBoundManagers() 보호된 메소드

protected getServiceBoundManagers ( ServiceDefinition $def ) : string[]
$def Nette\DI\ServiceDefinition
리턴 string[]

loadConfiguration() 공개 메소드

public loadConfiguration ( )

loadConsole() 보호된 메소드

protected loadConsole ( )

processCache() 보호된 메소드

protected processCache ( string | stdClass $cache, string $suffix ) : string
$cache string | stdClass
$suffix string
리턴 string

processConnection() 보호된 메소드

protected processConnection ( $name, array $defaults, $isDefault = FALSE )
$defaults array

processEntityManager() 보호된 메소드

protected processEntityManager ( $name, array $defaults )
$defaults array

processEventManagers() 보호된 메소드

protected processEventManagers ( )

processMetadataDriver() 보호된 메소드

protected processMetadataDriver ( ServiceDefinition $metadataDriver, string $namespace, string | object $driver, string $prefix ) : string
$metadataDriver Nette\DI\ServiceDefinition
$namespace string
$driver string | object
$prefix string
리턴 string

processRepositories() 보호된 메소드

protected processRepositories ( )

processRepositoryFactoryEntities() 보호된 메소드

protected processRepositoryFactoryEntities ( ClassType $class )
$class Nette\PhpGenerator\ClassType

processSecondLevelCache() 보호된 메소드

protected processSecondLevelCache ( $name, array $config, $isDefault )
$config array

register() 공개 정적인 메소드

public static register ( Configurator $configurator )
$configurator Nette\Configurator

프로퍼티 상세

$connectionDefaults 공개적으로 프로퍼티

public array $connectionDefaults
리턴 array

$managerDefaults 공개적으로 프로퍼티

public array $managerDefaults
리턴 array

$metadataDriverClasses 공개적으로 프로퍼티

public array $metadataDriverClasses
리턴 array