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

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

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

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

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

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

public __construct ( ApiPlatform\Core\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface $resourceNameCollection, ApiPlatform\Core\Metadata\Property\Factory\PropertyMetadataFactoryInterface $decorated = null )
$resourceNameCollection ApiPlatform\Core\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface
$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