PHP Interface ApiPlatform\Core\Metadata\Property\Factory\PropertyNameCollectionFactoryInterface

Author: Kévin Dunglas ([email protected])
显示文件 Open project: api-platform/core

Public Methods

Method Description
create ( string $resourceClass, array $options = [] ) : PropertyNameCollection Creates the property name collection for the given class and options.

Method Details

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