Skip to content

Commit

Permalink
Fixing services
Browse files Browse the repository at this point in the history
  • Loading branch information
floriankraemer committed Jan 8, 2025
1 parent 06cb9e1 commit d8dc0f6
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions config/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,18 @@ services:
arguments:
$validationErrorsBuilder: '@Phauthentic\Symfony\ProblemDetails\Validation\ValidationErrorsBuilder'
$problemDetailsResponseFactory: '@Phauthentic\Symfony\ProblemDetails\FromExceptionEventFactoryInterface'
tags:
- { name: 'phauthentic.problem_details.exception_converter' }
tags: ['phauthentic.problem_details.exception_converter']

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

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

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

0 comments on commit d8dc0f6

Please sign in to comment.