PHP Class ApiPlatform\Core\PathResolver\CustomOperationPathResolver

Author: Guilhem N. ([email protected])
Inheritance: implements ApiPlatform\Core\PathResolver\OperationPathResolverInterface
Show file Open project: api-platform/core

Public Methods

Method Description
__construct ( ApiPlatform\Core\PathResolver\OperationPathResolverInterface $deferred )
resolveOperationPath ( string $resourceShortName, array $operation, boolean $collection ) : string

Method Details

__construct() public method

public __construct ( ApiPlatform\Core\PathResolver\OperationPathResolverInterface $deferred )
$deferred ApiPlatform\Core\PathResolver\OperationPathResolverInterface

resolveOperationPath() public method

public resolveOperationPath ( string $resourceShortName, array $operation, boolean $collection ) : string
$resourceShortName string
$operation array
$collection boolean
return string