PHP Класс ApiPlatform\Core\Metadata\Property\Factory\AnnotationPropertyMetadataFactory

Автор: Kévin Dunglas ([email protected])
Наследование: implements ApiPlatform\Core\Metadata\Property\Factory\PropertyMetadataFactoryInterface
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__construct ( Doctrine\Common\Annotations\Reader $reader, ApiPlatform\Core\Metadata\Property\Factory\PropertyMetadataFactoryInterface $decorated = null )
create ( string $resourceClass, string $property, array $options = [] ) : PropertyMetadata

Приватные методы

Метод Описание
createMetadata ( ApiProperty $annotation, PropertyMetadata $parentPropertyMetadata = null ) : PropertyMetadata
createWith ( PropertyMetadata $propertyMetadata, array $property, $value ) : PropertyMetadata
handleNotFound ( PropertyMetadata $parentPropertyMetadata = null, string $resourceClass, string $property ) : PropertyMetadata Returns the metadata from the decorated factory if available or throws an exception.

Описание методов

__construct() публичный Метод

public __construct ( Doctrine\Common\Annotations\Reader $reader, ApiPlatform\Core\Metadata\Property\Factory\PropertyMetadataFactoryInterface $decorated = null )
$reader Doctrine\Common\Annotations\Reader
$decorated ApiPlatform\Core\Metadata\Property\Factory\PropertyMetadataFactoryInterface

create() публичный Метод

public create ( string $resourceClass, string $property, array $options = [] ) : PropertyMetadata
$resourceClass string
$property string
$options array
Результат ApiPlatform\Core\Metadata\Property\PropertyMetadata