namespace Symfony\Component\DependencyInjection\Attribute
Object name | File name | Summary |
---|---|---|
AsAlias | vendor/symfony/dependency-injection/Attribute/AsAlias.php | An attribute to tell under which alias a service should be registered or to use the implemented interface if no parameter is given. |
AsDecorator | vendor/symfony/dependency-injection/Attribute/AsDecorator.php | Declares a decorating service. |
AsTaggedItem | vendor/symfony/dependency-injection/Attribute/AsTaggedItem.php | An attribute to tell under which index and priority a service class should be found in tagged iterators/locators. |
Autoconfigure | vendor/symfony/dependency-injection/Attribute/Autoconfigure.php | An attribute to tell how a base type should be autoconfigured. |
AutoconfigureTag | vendor/symfony/dependency-injection/Attribute/AutoconfigureTag.php | An attribute to tell how a base type should be tagged. |
Autowire | vendor/symfony/dependency-injection/Attribute/Autowire.php | Attribute to tell a parameter how to be autowired. |
AutowireCallable | vendor/symfony/dependency-injection/Attribute/AutowireCallable.php | Attribute to tell which callable to give to an argument of type Closure. |
AutowireDecorated | vendor/symfony/dependency-injection/Attribute/AutowireDecorated.php | Autowires the inner object of decorating services. |
AutowireInline | vendor/symfony/dependency-injection/Attribute/AutowireInline.php | Allows inline service definition for an argument. |
AutowireIterator | vendor/symfony/dependency-injection/Attribute/AutowireIterator.php | Autowires an iterator of services based on a tag name. |
AutowireLocator | vendor/symfony/dependency-injection/Attribute/AutowireLocator.php | Autowires a service locator based on a tag name or an explicit list of key => service-type pairs. |
AutowireMethodOf | vendor/symfony/dependency-injection/Attribute/AutowireMethodOf.php | Tells which method should be turned into a Closure based on the name of the parameter it's attached to. |
AutowireServiceClosure | vendor/symfony/dependency-injection/Attribute/AutowireServiceClosure.php | Attribute to wrap a service in a closure that returns it. |
Exclude | vendor/symfony/dependency-injection/Attribute/Exclude.php | An attribute to tell the class should not be registered as service. |
Lazy | vendor/symfony/dependency-injection/Attribute/Lazy.php | |
TaggedIterator | vendor/symfony/dependency-injection/Attribute/TaggedIterator.php | Autowires an iterator of services based on a tag name. |
TaggedLocator | vendor/symfony/dependency-injection/Attribute/TaggedLocator.php | Autowires a locator of services based on a tag name. |
Target | vendor/symfony/dependency-injection/Attribute/Target.php | An attribute to tell how a dependency is used and hint named autowiring aliases. |
When | vendor/symfony/dependency-injection/Attribute/When.php | An attribute to tell under which environment this class should be registered as a service. |
WhenNot | vendor/symfony/dependency-injection/Attribute/WhenNot.php | An attribute to tell under which environment this class should NOT be registered as a service. |