Skip to content

Commit 7c6c261

Browse files
committed
minor #885 Remove default private services config (Tobion)
This PR was squashed before being merged into the master branch (closes #885). Discussion ---------- Remove default private services config - the system cache uses apcu automatically when available, see https://github.com/symfony/symfony/blob/2bfcaeb31ff3b878734b0951851d25abf2b3321e/src/Symfony/Component/Cache/Adapter/AbstractAdapter.php#L109 - private services are the default now, see symfony/recipes@4c3d490 Commits ------- a21b4d7 Remove default private services config
2 parents 3d7bae2 + a21b4d7 commit 7c6c261

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

config/packages/prod/framework.yaml

Lines changed: 0 additions & 3 deletions
This file was deleted.

config/services.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ services:
1111
_defaults:
1212
autowire: true # Automatically injects dependencies in your services.
1313
autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.
14-
public: false # Allows optimizing the container by removing unused services; this also means
15-
# fetching services directly from the container via $container->get() won't work.
16-
# The best practice is to be explicit about your dependencies anyway.
1714
bind: # defines the scalar arguments once and apply them to any service defined/created in this file
1815
$locales: '%app_locales%'
1916
$defaultLocale: '%locale%'

0 commit comments

Comments
 (0)