PHP 클래스 DMS\Filter\Mapping\ClassMetadataFactory

상속: implements DMS\Filter\Mapping\ClassMetadataFactoryInterface
파일 보기 프로젝트 열기: rdohms/dms-filter 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$cache Doctrine\Common\Cache\Cache
$loader DMS\Filter\Mapping\Loader\LoaderInterface
$parsedClasses array

공개 메소드들

메소드 설명
__construct ( DMS\Filter\Mapping\Loader\LoaderInterface $loader, Doctrine\Common\Cache\Cache $cache = null ) Constructor Receives a Loader and a Doctrine Compatible cache instance
getClassMetadata ( $class ) {@inheritDoc}

보호된 메소드들

메소드 설명
loadInterfaceMetadata ( DMS\Filter\Mapping\ClassMetadataInterface $metadata ) Checks if the object has interfaces and cascades parsing of annotatiosn to all the interfaces
loadParentMetadata ( DMS\Filter\Mapping\ClassMetadataInterface $metadata ) Checks if the class being parsed has a parent and cascades parsing to its parent

비공개 메소드들

메소드 설명
getParsedClass ( string $class ) : DMS\Filter\Mapping\ClassMetadataInterface Retrieves data from a class already parsed
isParsed ( string $class ) : boolean Checks if a class has already been parsed
parseClassMetadata ( string $class ) : DMS\Filter\Mapping\ClassMetadataInterface Reads class metadata for a new and unparsed class
setParsedClass ( string $class, DMS\Filter\Mapping\ClassMetadataInterface $metadata ) Stores data from a parsed class

메소드 상세

__construct() 공개 메소드

Constructor Receives a Loader and a Doctrine Compatible cache instance
public __construct ( DMS\Filter\Mapping\Loader\LoaderInterface $loader, Doctrine\Common\Cache\Cache $cache = null )
$loader DMS\Filter\Mapping\Loader\LoaderInterface
$cache Doctrine\Common\Cache\Cache

getClassMetadata() 공개 메소드

{@inheritDoc}
public getClassMetadata ( $class )

loadInterfaceMetadata() 보호된 메소드

Checks if the object has interfaces and cascades parsing of annotatiosn to all the interfaces
protected loadInterfaceMetadata ( DMS\Filter\Mapping\ClassMetadataInterface $metadata )
$metadata DMS\Filter\Mapping\ClassMetadataInterface

loadParentMetadata() 보호된 메소드

Checks if the class being parsed has a parent and cascades parsing to its parent
protected loadParentMetadata ( DMS\Filter\Mapping\ClassMetadataInterface $metadata )
$metadata DMS\Filter\Mapping\ClassMetadataInterface

프로퍼티 상세

$cache 보호되어 있는 프로퍼티

protected Cache,Doctrine\Common\Cache $cache
리턴 Doctrine\Common\Cache\Cache

$loader 보호되어 있는 프로퍼티

protected LoaderInterface,DMS\Filter\Mapping\Loader $loader
리턴 DMS\Filter\Mapping\Loader\LoaderInterface

$parsedClasses 보호되어 있는 프로퍼티

protected array $parsedClasses
리턴 array