| 1 | <?php |
||
| 25 | final class OperationPathResolver implements OperationPathResolverInterface |
||
| 26 | { |
||
| 27 | private $pathNameGenerator; |
||
| 28 | |||
| 29 | public function __construct(PathNameGeneratorInterface $pathNameGenerator) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * {@inheritdoc} |
||
| 36 | */ |
||
| 37 | public function resolveOperationPath(string $resourceShortName, array $operation, $operationType/*, string $operationName = null*/): string |
||
| 59 | } |
||
| 60 |
If you suppress an error, we recommend checking for the error condition explicitly: