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

Author: Antoine Bluchet ([email protected])
Inheritance: implements ApiPlatform\Core\Metadata\Property\Factory\PropertyNameCollectionFactoryInterface
显示文件 Open project: api-platform/core Class Usage Examples

Public Methods

Method Description
__construct ( ApiPlatform\Core\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface $resourceNameCollection, ApiPlatform\Core\Metadata\Property\Factory\PropertyNameCollectionFactoryInterface $decorated = null )
create ( string $resourceClass, array $options = [] ) : PropertyNameCollection

Method Details

__construct() public method

public __construct ( ApiPlatform\Core\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface $resourceNameCollection, ApiPlatform\Core\Metadata\Property\Factory\PropertyNameCollectionFactoryInterface $decorated = null )
$resourceNameCollection ApiPlatform\Core\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface
$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