Classes
CompoundPropertyDescriber
in package
implements
PropertyDescriberInterface, ModelRegistryAwareInterface
Uses
ModelRegistryAwareTrait
Interfaces, Classes and Traits
Table of Contents
- $modelRegistry : ModelRegistry
- $propertyDescribers : array<string|int, PropertyDescriberInterface>
- __construct() : mixed
- describe() : mixed
- setModelRegistry() : mixed
- supports() : bool
Properties
$modelRegistry
private
ModelRegistry
$modelRegistry
$propertyDescribers
private
array<string|int, PropertyDescriberInterface>
$propertyDescribers
Methods
__construct()
public
__construct(iteratable<string|int, mixed> $propertyDescribers) : mixed
Parameters
- $propertyDescribers : iteratable<string|int, mixed>
Return values
mixed —describe()
public
describe(array<string|int, mixed> $types, Schema $property[, array<string|int, mixed> $groups = null ]) : mixed
Parameters
- $types : array<string|int, mixed>
- $property : Schema
- $groups : array<string|int, mixed> = null
Return values
mixed —setModelRegistry()
public
setModelRegistry(ModelRegistry $modelRegistry) : mixed
Parameters
- $modelRegistry : ModelRegistry
Return values
mixed —supports()
public
supports(array<string|int, mixed> $types) : bool
Parameters
- $types : array<string|int, mixed>