Piwik\
Proxy class for using DI related methods
The class defines the following methods:
value()
It accepts the following parameter(s):
$value
(mixed
) —It returns a DI\Definition\ValueDefinition
value.
create()
PHPDI\create()
It accepts the following parameter(s):
$className
(string
) —It returns a DI\Definition\Helper\CreateDefinitionHelper
value.
autowire()
PHPDI\autowire()
It accepts the following parameter(s):
$className
(string
) —It returns a DI\Definition\Helper\AutowireDefinitionHelper
value.
factory()
PHPDI\factory()
It accepts the following parameter(s):
$factory
(callable
) —It returns a DI\Definition\Helper\FactoryDefinitionHelper
value.
decorate()
PHPDI\decorate()
It accepts the following parameter(s):
$callable
(callable
) —It returns a DI\Definition\Helper\FactoryDefinitionHelper
value.
get()
PHPDI\get()
It accepts the following parameter(s):
$entryName
(string
) —It returns a DI\Definition\Reference
value.
env()
PHPDI\env()
It accepts the following parameter(s):
$variableName
(string
) —
$defaultValue
(mixed
) —
It returns a DI\Definition\EnvironmentVariableDefinition
value.
add()
PHPDI\add()
It accepts the following parameter(s):
$values
(array
|mixed
) —It returns a DI\Definition\ArrayDefinitionExtension
value.
string()
PHPDI\string()
It accepts the following parameter(s):
$expression
(string
) —It returns a DI\Definition\StringDefinition
value.