PHP Class ApiPlatform\Core\Bridge\Symfony\Routing\RouterOperationPathResolver

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

Public Methods

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

Method Details

__construct() public method

public __construct ( Symfony\Component\Routing\RouterInterface $router, ApiPlatform\Core\PathResolver\OperationPathResolverInterface $deferred )
$router Symfony\Component\Routing\RouterInterface
$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