Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

List tags that are automatically applied for you with autoconfigure enabled #9229

Closed
@aaa2000

Description

@aaa2000

Inhttps://github.com/symfony/symfony-docs/blob/4.0/service_container/tags.rst#autoconfiguring-tags, the documentation only mentionstwig.extension tag.

Having the list increases the readability of the file by reducing its size.

It seems to me that the implemantion of these interfaces are automaticaly tagged:

interface/classtag
Twig_ExtensionInterface::classtwig.extension
Twig_LoaderInterface::classtwig.loader
Twig\Extension\ExtensionInterfacetwig.extension
Twig\Loader\LoaderInterfacetwig.loader
Twig\Extension\RuntimeExtensionInterfacetwig.runtime
Symfony\Component\Console\Command\Commandconsole.command
Symfony\Component\Config\ResourceCheckerInterfaceconfig_cache.resource_checker
Symfony\Component\DependencyInjection\EnvVarProcessorInterfacecontainer.env_var_processor
Symfony\Component\DependencyInjection\ServiceSubscriberInterfacecontainer.service_subscriber
Symfony\Component\HttpKernel\Controller\ArgumentValueResolverInterfacecontroller.argument_value_resolver
Symfony\Bundle\FrameworkBundle\Controller\AbstractControllercontroller.service_arguments
Symfony\Bundle\FrameworkBundle\Controller\Controllercontroller.service_arguments
Symfony\Component\HttpKernel\DataCollector\DataCollectorInterfacedata_collector
Symfony\Component\Form\FormTypeInterfaceform.type
Symfony\Component\Form\FormTypeGuesserInterfaceform.type_guesser
Symfony\Component\HttpKernel\CacheClearer\CacheClearerInterfacekernel.cache_clearer
Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerInterfacekernel.cache_warmer
Symfony\Component\EventDispatcher\EventSubscriberInterfacekernel.event_subscriber
Symfony\Component\Cache\ResettableInterfacekernel.reset
Symfony\Component\PropertyInfo\PropertyListExtractorInterfaceproperty_info.list_extractor
Symfony\Component\PropertyInfo\PropertyTypeExtractorInterfaceproperty_info.type_extractor
Symfony\Component\PropertyInfo\PropertyDescriptionExtractorInterfaceproperty_info.description_extractor
Symfony\Component\PropertyInfo\PropertyAccessExtractorInterfaceproperty_info.access_extractor
Symfony\Component\Serializer\Encoder\EncoderInterfaceserializer.encoder
Symfony\Component\Serializer\Encoder\DecoderInterfaceserializer.encoder
Symfony\Component\Serializer\Normalizer\NormalizerInterfaceserializer.normalizer
Symfony\Component\Serializer\Normalizer\DenormalizerInterfaceserializer.normalizer
Symfony\Component\Validator\ConstraintValidatorInterfacevalidator.constraint_validator
Symfony\Component\Validator\ObjectInitializerInterfacevalidator.initializer
Symfony\Component\Security\Core\Authorization\Voter\VoterInterfacesecurity.voter

https://github.com/symfony/symfony/blob/44b2f97dcd2ba10857dd545e424ad4f48c9dbea1/src/Symfony/Bundle/TwigBundle/DependencyInjection/TwigExtension.php#L154

https://github.com/symfony/symfony/blob/374f6e2353781709356e334665539bc31f2c4e11/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php#L285

https://github.com/symfony/symfony/blob/302f33702dcf29dbfdd09c72cdf69273fe8c60a6/src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php#L121

Are there others autoconfiguring tags ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp