Works just like setDefinition but getService($id) is going to return
exactly same value every single time.
public setStaticDefinition ( $id, Closure $definition, array $tags = [] ) | ||
$id | ||
$definition | Closure | |
$tags | array |
public setStaticDefinition ( $id, Closure $definition, array $tags = [] ) | ||
$id | ||
$definition | Closure | |
$tags | array |