1
0
2025-03-19 13:47:06 +01:00

16 lines
771 B
YAML

# config/services.yaml
services:
_defaults:
autowire: true # Automatically injects dependencies in your services.
autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.
public: false # Allows optimizing the container by removing unused services; this also means
# fetching services directly from the container via $container->get() won't work.
# The best practice is to be explicit about your dependencies anyway.
bind:
#$projectDir: '%kernel.project_dir%'
Yupdesign\ContaoArchitectureProjectsBundle\:
resource: ../src/
exclude: ../src/{DependencyInjection,Model,Session}