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
Datei anzeigen Open project: api-platform/core

Public Methods

Method 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 method

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 method

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