Skip to content

Commit

Permalink
Removed Serice Container injection
Browse files Browse the repository at this point in the history
  • Loading branch information
parijke committed Nov 28, 2023
1 parent a6ccb90 commit 24372d4
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions config/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,6 @@ services:
autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.
public: true

Surfnet\StepupSelfService\SelfServiceBundle\Controller\:
# Setting class is redundant, but adds autocompletions for the IDE.
resource: '../src/Surfnet/StepupSelfService/SelfServiceBundle/Controller/'
public: true
# class: Surfnet\StepupSelfService\SelfServiceBundle\Controller\Controller
# arguments:
# Add this tag to inject services into controller actions.
tags: ['controller.service_arguments']
# Call the setContainer method to get access to the services via
# $this->get() method.
calls:
- setContainer: ['@service_container']

logger:
alias: 'monolog.logger'
public: true
Expand Down

0 comments on commit 24372d4

Please sign in to comment.