PHP Class ApiPlatform\Core\Bridge\Doctrine\Orm\Metadata\Property\DoctrineOrmPropertyMetadataFactory

Author: Kévin Dunglas ([email protected])
Inheritance: implements ApiPlatform\Core\Metadata\Property\Factory\PropertyMetadataFactoryInterface
Datei anzeigen Open project: api-platform/core Class Usage Examples

Public Methods

Method Description
__construct ( Doctrine\Common\Persistence\ManagerRegistry $managerRegistry, ApiPlatform\Core\Metadata\Property\Factory\PropertyMetadataFactoryInterface $decorated )
create ( string $resourceClass, string $property, array $options = [] ) : PropertyMetadata

Method Details

__construct() public method

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 method

public create ( string $resourceClass, string $property, array $options = [] ) : PropertyMetadata
$resourceClass string
$property string
$options array
return ApiPlatform\Core\Metadata\Property\PropertyMetadata