Skip to content

Commit

Permalink
Renaming the tags (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
floriankraemer authored Jan 8, 2025
1 parent 38484bd commit e4c8673
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@ services:
$validationErrorsBuilder: '@Phauthentic\Symfony\ProblemDetails\Validation\ValidationErrorsBuilder'
$problemDetailsResponseFactory: '@Phauthentic\Symfony\ProblemDetails\FromExceptionEventFactoryInterface'
tags:
- { name: 'exception.converter' }
- { name: 'phauthentic.problem_details.exception_converter' }

Phauthentic\Symfony\ProblemDetails\ExceptionConversion\HttpExceptionConverter:
arguments:
$problemDetailsFactory: '@Phauthentic\Symfony\ProblemDetails\ProblemDetailsFactoryInterface'
tags:
- { name: 'exception.converter' }
- { name: 'phauthentic.problem_details.exception_converter' }

Phauthentic\Symfony\ProblemDetails\ExceptionConversion\GenericExceptionConverter:
tags:
- { name: 'exception.converter' }
- { name: 'phauthentic.problem_details.exception_converter' }

Phauthentic\Symfony\ProblemDetails\ThrowableToProblemDetailsKernelListener:
arguments:
$exceptionConverters: !tagged_iterator exception.converter
$exceptionConverters: !tagged_iterator phauthentic.problem_details.exception_converter'
tags:
- { name: 'kernel.event_listener', event: 'kernel.exception', priority: 0 }

0 comments on commit e4c8673

Please sign in to comment.