ContainerConfigurator.php
Interfaces, Classes, Traits and Enums
Table of Contents
- ref() : ReferenceConfigurator
 - Creates a service reference.
 - inline() : InlineServiceConfigurator
 - Creates an inline service.
 - service_locator() : ServiceLocatorArgument
 - Creates a service locator.
 - iterator() : IteratorArgument
 - Creates a lazy iterator.
 - tagged_iterator() : TaggedIteratorArgument
 - Creates a lazy iterator by tag name.
 - tagged_locator() : ServiceLocatorArgument
 - Creates a service locator by tag name.
 - expr() : Expression
 - Creates an expression.
 
Functions
ref()
Creates a service reference.
    
                    ref(string $id) : ReferenceConfigurator
    
        Parameters
- $id : string
 
Return values
ReferenceConfigurator —inline()
Creates an inline service.
    
                    inline([string $class = null ]) : InlineServiceConfigurator
    
        Parameters
- $class : string = null
 
Return values
InlineServiceConfigurator —service_locator()
Creates a service locator.
    
                    service_locator(array<string|int, ReferenceConfigurator> $values) : ServiceLocatorArgument
    
        Parameters
- $values : array<string|int, ReferenceConfigurator>
 
Return values
ServiceLocatorArgument —iterator()
Creates a lazy iterator.
    
                    iterator(array<string|int, ReferenceConfigurator> $values) : IteratorArgument
    
        Parameters
- $values : array<string|int, ReferenceConfigurator>
 
Return values
IteratorArgument —tagged_iterator()
Creates a lazy iterator by tag name.
    
                    tagged_iterator(string $tag[, string $indexAttribute = null ][, string $defaultIndexMethod = null ][, string $defaultPriorityMethod = null ]) : TaggedIteratorArgument
    
        Parameters
- $tag : string
 - $indexAttribute : string = null
 - $defaultIndexMethod : string = null
 - $defaultPriorityMethod : string = null
 
Return values
TaggedIteratorArgument —tagged_locator()
Creates a service locator by tag name.
    
                    tagged_locator(string $tag[, string $indexAttribute = null ][, string $defaultIndexMethod = null ]) : ServiceLocatorArgument
    
        Parameters
- $tag : string
 - $indexAttribute : string = null
 - $defaultIndexMethod : string = null
 
Return values
ServiceLocatorArgument —expr()
Creates an expression.
    
                    expr(string $expression) : Expression
    
        Parameters
- $expression : string