Documentation

ContainerConfigurator.php

Interfaces, Classes and Traits

ContainerConfigurator

Table of Contents

param()  : ParamConfigurator
Creates a parameter.
ref()  : ReferenceConfigurator
Creates a service reference.
service()  : ReferenceConfigurator
Creates a reference to a service.
inline()  : InlineServiceConfigurator
Creates an inline service.
inline_service()  : 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.
abstract_arg()  : AbstractArgument
Creates an abstract argument.
env()  : EnvConfigurator
Creates an environment variable reference.
service_closure()  : ClosureReferenceConfigurator
Creates a closure service reference.

Functions

tagged_iterator()

Creates a lazy iterator by tag name.

tagged_iterator(string $tag[, string|null $indexAttribute = null ][, string|null $defaultIndexMethod = null ][, string|null $defaultPriorityMethod = null ]) : TaggedIteratorArgument
Parameters
$tag : string
$indexAttribute : string|null = null
$defaultIndexMethod : string|null = null
$defaultPriorityMethod : string|null = null
Return values
TaggedIteratorArgument

tagged_locator()

Creates a service locator by tag name.

tagged_locator(string $tag[, string|null $indexAttribute = null ][, string|null $defaultIndexMethod = null ][, string|null $defaultPriorityMethod = null ]) : ServiceLocatorArgument
Parameters
$tag : string
$indexAttribute : string|null = null
$defaultIndexMethod : string|null = null
$defaultPriorityMethod : string|null = null
Return values
ServiceLocatorArgument

Search results