PHP Class ApiPlatform\Core\Metadata\Property\Factory\InheritedPropertyMetadataFactory

Author: Antoine Bluchet ([email protected])
Inheritance: implements ApiPlatform\Core\Metadata\Property\Factory\PropertyMetadataFactoryInterface
Afficher le fichier Open project: api-platform/core Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( ApiPlatform\Core\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface $resourceNameCollection, ApiPlatform\Core\Metadata\Property\Factory\PropertyMetadataFactoryInterface $decorated = null )
create ( string $resourceClass, string $property, array $options = [] ) : PropertyMetadata

Method Details

__construct() public méthode

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 méthode

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