Callback will be executed with $this (ServiceContainer) as a argument.
public setDefinition ( $id, Closure $definition, array $tags = [] ) | ||
$id | ||
$definition | Closure | |
$tags | array |
public setDefinition ( $id, Closure $definition, array $tags = [] ) | ||
$id | ||
$definition | Closure | |
$tags | array |