PHP 인터페이스 DMS\Filter\Mapping\ClassMetadataInterface

파일 보기 프로젝트 열기: rdohms/dms-filter 0 사용 예제들

공개 메소드들

메소드 설명
addPropertyRule ( string $property, Rule $rule ) Adds a new rule to a property
getClassName ( ) : string Get name of class represented in this Metadata object
getFilteredProperties ( ) : array Retrieve a list of the object's properties that have filters attached to them
getPropertyRules ( string $property ) : array Retrieve s list of filtering rules attached to a property
getReflectionClass ( ) : ReflectionClas\ReflectionClass Returns a ReflectionClass instance for this class.
mergeRules ( DMS\Filter\Mapping\ClassMetadataInterface $metadata ) Merges rules from another metadata object into this one

메소드 상세

addPropertyRule() 공개 메소드

Adds a new rule to a property
public addPropertyRule ( string $property, Rule $rule )
$property string
$rule DMS\Filter\Rules\Rule

getClassName() 공개 메소드

Get name of class represented in this Metadata object
public getClassName ( ) : string
리턴 string

getFilteredProperties() 공개 메소드

Retrieve a list of the object's properties that have filters attached to them
public getFilteredProperties ( ) : array
리턴 array

getPropertyRules() 공개 메소드

Retrieve s list of filtering rules attached to a property
public getPropertyRules ( string $property ) : array
$property string
리턴 array

getReflectionClass() 공개 메소드

Returns a ReflectionClass instance for this class.
public getReflectionClass ( ) : ReflectionClas\ReflectionClass
리턴 ReflectionClas\ReflectionClass

mergeRules() 공개 메소드

Merges rules from another metadata object into this one
public mergeRules ( DMS\Filter\Mapping\ClassMetadataInterface $metadata )
$metadata DMS\Filter\Mapping\ClassMetadataInterface