Classes
JMSModelDescriber
in package
implements
ModelDescriberInterface, ModelRegistryAwareInterface
Uses
ModelRegistryAwareTrait
Uses the JMS metadata factory to extract input/output model information.
Interfaces, Classes and Traits
Table of Contents
- $contextFactory : mixed
- $contexts : mixed
- $doctrineReader : mixed
- $factory : mixed
- $mediaTypes : mixed
- $metadataStacks : mixed
- $modelRegistry : ModelRegistry
- $namingStrategy : mixed
- $propertyTypeUseGroupsCache : array<string|int, mixed>
- $useValidationGroups : bool
- __construct() : mixed
- describe() : mixed
- setModelRegistry() : mixed
- supports() : bool
- computeGroups() : mixed
- getNestedTypeInArray() : mixed
- propertyTypeUsesGroups() : bool|null
Properties
$contextFactory
private
mixed
$contextFactory
$contexts
private
mixed
$contexts
= []
$doctrineReader
private
mixed
$doctrineReader
$factory
private
mixed
$factory
$mediaTypes
private
mixed
$mediaTypes
$metadataStacks
private
mixed
$metadataStacks
= []
$modelRegistry
private
ModelRegistry
$modelRegistry
$namingStrategy
private
mixed
$namingStrategy
$propertyTypeUseGroupsCache
private
array<string|int, mixed>
$propertyTypeUseGroupsCache
= []
$useValidationGroups
private
bool
$useValidationGroups
Methods
__construct()
public
__construct(MetadataFactoryInterface $factory, Reader $reader, array<string|int, mixed> $mediaTypes[, PropertyNamingStrategyInterface|null $namingStrategy = null ][, bool $useValidationGroups = false ][, SerializationContextFactoryInterface|null $contextFactory = null ]) : mixed
Parameters
- $factory : MetadataFactoryInterface
- $reader : Reader
- $mediaTypes : array<string|int, mixed>
- $namingStrategy : PropertyNamingStrategyInterface|null = null
- $useValidationGroups : bool = false
- $contextFactory : SerializationContextFactoryInterface|null = null
Return values
mixed —describe()
public
describe(Model $model, Schema $schema) : mixed
Parameters
- $model : Model
- $schema : Schema
Return values
mixed —setModelRegistry()
public
setModelRegistry(ModelRegistry $modelRegistry) : mixed
Parameters
- $modelRegistry : ModelRegistry
Return values
mixed —supports()
public
supports(Model $model) : bool
Parameters
- $model : Model
Return values
bool —computeGroups()
private
computeGroups(Context $context[, array<string|int, mixed> $type = null ]) : mixed
Parameters
- $context : Context
- $type : array<string|int, mixed> = null
Return values
mixed —getNestedTypeInArray()
private
getNestedTypeInArray(array<string|int, mixed> $type) : mixed
Parameters
- $type : array<string|int, mixed>
Return values
mixed —propertyTypeUsesGroups()
private
propertyTypeUsesGroups(array<string|int, mixed> $type) : bool|null
Parameters
- $type : array<string|int, mixed>