Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
There are several ways here:
config/services.yaml
). How this is done is described in the documentation . A description of the standard controller_resolver
can be seen here , in Yaml it will look like this:services:
controller_resolver:
class: Full\Name\Of\Your\Implementation
arguments:
- '@service_container'
- '@?logger'
tags:
- {'name:':'monolog.logger', channel: 'request'}
ContainerBuilder
and can programmatically form everything you need in it. However, it is doubtful that in this case you will need it.Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question