ApiPlatform\Core\Metadata\Property\Factory\PropertyNameCollectionFactoryInterface::create PHP Method

create() public method

Creates the property name collection for the given class and options.
public create ( string $resourceClass, array $options = [] ) : PropertyNameCollection
$resourceClass string
$options array
return ApiPlatform\Core\Metadata\Property\PropertyNameCollection
    public function create(string $resourceClass, array $options = []) : PropertyNameCollection;
PropertyNameCollectionFactoryInterface