8000 [FrameworkBundle] Use an array for exclude directive · symfony/recipes@60d0656 · GitHub
[go: up one dir, main page]

Skip to content

Commit 60d0656

Browse files
committed
[FrameworkBundle] Use an array for exclude directive
1 parent 0800a64 commit 60d0656

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

symfony/framework-bundle/4.2/config/services.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ services:
1515
# this creates a service per class whose id is the fully-qualified class name
1616
App\:
1717
resource: '../src/*'
18-
exclude: '../src/{DependencyInjection,Entity,Tests,Kernel.php}'
18+
exclude:
19+
- '../src/DependencyInjection/'
20+
- '../src/Entity/'
21+
- '../src/Kernel.php'
22+
- '../src/Tests/'
1923

2024
# controllers are imported separately to make sure services can be injected
2125
# as action arguments even if you don't extend any base controller class

0 commit comments

Comments
 (0)
0