PHP Class DMS\Filter\Mapping\ClassMetadata

Inheritance: implements DMS\Filter\Mapping\ClassMetadataInterface
Show file Open project: rdohms/dms-filter Class Usage Examples

Public Properties

Property Type Description
$className string
$filteredProperties array Properties that contain filtering rules

Public Methods

Method Description
__construct ( string $class ) Constructor
addPropertyRule ( $property, Rule $rule ) {@inheritDoc}
getClassName ( ) {@inheritDoc}
getFilteredProperties ( ) {@inheritDoc}
getPropertyRules ( $property ) {@inheritDoc}
getReflectionClass ( ) {@inheritDoc}
mergeRules ( DMS\Filter\Mapping\ClassMetadataInterface $metadata ) {@inheritDoc}

Method Details

__construct() public method

Constructor
public __construct ( string $class )
$class string

addPropertyRule() public method

{@inheritDoc}
public addPropertyRule ( $property, Rule $rule )
$rule DMS\Filter\Rules\Rule

getClassName() public method

{@inheritDoc}
public getClassName ( )

getFilteredProperties() public method

{@inheritDoc}

getPropertyRules() public method

{@inheritDoc}
public getPropertyRules ( $property )

getReflectionClass() public method

{@inheritDoc}
public getReflectionClass ( )

mergeRules() public method

{@inheritDoc}
public mergeRules ( DMS\Filter\Mapping\ClassMetadataInterface $metadata )
$metadata DMS\Filter\Mapping\ClassMetadataInterface

Property Details

$className public property

public string $className
return string

$filteredProperties public property

Properties that contain filtering rules
public array $filteredProperties
return array