src/Bridge/Symfony/Routing/OperationMethodResolver.php
private function getRouteName(ResourceMetadata $resourceMetadata, string $operationName, string $operationType): ?string
    {
        if (OperationType::ITEM === $operationType) {
            return $resourceMetadata->getItemOperationAttribute($operationName, 'route_name');
        }

        return $resourceMetadata->getCollectionOperationAttribute($operationName, 'route_name');
    }
private function getRouteName(ResourceMetadata $resourceMetadata, string $operationName, string $operationType): ?string
    {
        if (OperationType::ITEM === $operationType) {
            return $resourceMetadata->getItemOperationAttribute($operationName, 'route_name');
        }

        return $resourceMetadata->getCollectionOperationAttribute($operationName, 'route_name');
    }
private function getRouteName ( ResourceMetadata $ resourceMetadata , string $ operationName , string $ operationType ) : ? string { if ( OperationType :: ITEM === $ operationType ) { return $ resourceMetadata -> getItemOperationAttribute ( $ operationName , 'route_name' ) ; } return $ resourceMetadata -> getCollectionOperationAttribute ( $ operationName , 'route_name' ) ; }
Gets the route name or null if not defined.
Gets the route name or null if not defined .