PHP Class ApiPlatform\Core\Metadata\Resource\Factory\OperationResourceMetadataFactory

Author: Kévin Dunglas ([email protected])
Inheritance: implements ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface
Show file Open project: api-platform/core

Public Methods

Method Description
__construct ( ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface $decorated )
create ( string $resourceClass ) : ResourceMetadata

Private Methods

Method Description
createOperations ( array $methods ) : array

Method Details

__construct() public method

public __construct ( ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface $decorated )
$decorated ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface

create() public method

public create ( string $resourceClass ) : ResourceMetadata
$resourceClass string
return ApiPlatform\Core\Metadata\Resource\ResourceMetadata