PHP Class ApiPlatform\Core\Bridge\Symfony\PropertyInfo\Metadata\Property\PropertyInfoPropertyNameCollectionFactory

This is not a decorator on purpose because it should always have the top priority.
Author: Kévin Dunglas ([email protected])
Inheritance: implements ApiPlatform\Core\Metadata\Property\Factory\PropertyNameCollectionFactoryInterface
Datei anzeigen Open project: api-platform/core

Public Methods

Method Description
__construct ( Symfony\Component\PropertyInfo\PropertyInfoExtractorInterface $propertyInfo )
create ( string $resourceClass, array $options = [] ) : PropertyNameCollection

Method Details

__construct() public method

public __construct ( Symfony\Component\PropertyInfo\PropertyInfoExtractorInterface $propertyInfo )
$propertyInfo Symfony\Component\PropertyInfo\PropertyInfoExtractorInterface

create() public method

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