Files
pcm-badge-bundle/config/services.yaml
pcm-libraries a4f4e1990c Initial commit
2024-08-07 15:04:23 +00:00

29 lines
821 B
YAML

services:
_defaults:
autowire: true
autoconfigure: true
# Hide the fully qualified Greeting class name from public view
# but give the class an alias. This alias will be made public instead.
#
# Read the documentation to see why we do this:
# https://symfony.com/doc/current/service_container/autowiring.html#service-autowiring-alias
#
Pcm\ExampleBundle\Greeting:
public: false
alias: pcm_example.greeting
# Mark the alias we created as public.
pcm_example.greeting:
public: true
class: Pcm\ExampleBundle\Greeting
# If we were defining a twig extension, we'd want to add the twig.runtime tag
# so it loads correctly.
#
# Pcm\ExampleBundle\SomeTwigRuntime
# tags:
# - { name: twig.runtime }