PHP Интерфейс DMS\Filter\Mapping\ClassMetadataInterface

Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
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