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

Author: Kévin Dunglas ([email protected])
Author: Baptiste Meyer ([email protected])
Inheritance: implements ApiPlatform\Core\Metadata\Property\Factory\PropertyNameCollectionFactoryInterface
Afficher le fichier Open project: api-platform/core

Méthodes publiques

Méthode Description
__construct ( ApiPlatform\Core\Metadata\Extractor\ExtractorInterface $extractor, ApiPlatform\Core\Metadata\Property\Factory\PropertyNameCollectionFactoryInterface $decorated = null )
create ( string $resourceClass, array $options = [] ) : PropertyNameCollection

Method Details

__construct() public méthode

public __construct ( ApiPlatform\Core\Metadata\Extractor\ExtractorInterface $extractor, ApiPlatform\Core\Metadata\Property\Factory\PropertyNameCollectionFactoryInterface $decorated = null )
$extractor ApiPlatform\Core\Metadata\Extractor\ExtractorInterface
$decorated ApiPlatform\Core\Metadata\Property\Factory\PropertyNameCollectionFactoryInterface

create() public méthode

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