class AsController
Autoconfigures controllers as services by applying the `controller.service_arguments` tag to them.
This enables injecting services as method arguments in addition to other conventional dependency injection strategies.
Hierarchy
- class \Symfony\Component\HttpKernel\Attribute\AsController
Expanded class hierarchy of AsController
1 file declares its use of AsController
- ControllerResolver.php in vendor/
symfony/ http-kernel/ Controller/ ControllerResolver.php
File
-
vendor/
symfony/ http-kernel/ Attribute/ AsController.php, line 21
Namespace
Symfony\Component\HttpKernel\AttributeView source
class AsController {
}