mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 15:16:30 +03:00
Using autowire in security_checker.yaml
Using autowire & autoconfigure in security_checker.yaml This made for consistency with main `config/services.yaml` style and following the latest trends
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
services:
|
||||
SensioLabs\Security\SecurityChecker:
|
||||
public: false
|
||||
_defaults:
|
||||
autowire: true
|
||||
autoconfigure: true
|
||||
|
||||
SensioLabs\Security\Command\SecurityCheckerCommand:
|
||||
arguments: ['@SensioLabs\Security\SecurityChecker']
|
||||
public: false
|
||||
tags:
|
||||
- { name: console.command, command: 'security:check' }
|
||||
SensioLabs\Security\SecurityChecker: ~
|
||||
|
||||
SensioLabs\Security\Command\SecurityCheckerCommand: ~
|
||||
|
||||
Reference in New Issue
Block a user