PHP Класс ApiPlatform\Core\Bridge\Doctrine\Orm\Metadata\Property\DoctrineOrmPropertyMetadataFactory

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

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

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

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

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

public __construct ( Doctrine\Common\Persistence\ManagerRegistry $managerRegistry, ApiPlatform\Core\Metadata\Property\Factory\PropertyMetadataFactoryInterface $decorated )
$managerRegistry Doctrine\Common\Persistence\ManagerRegistry
$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