38 $result = $map(
$DIC, $fullyQualifiedDomainName, $for);
42 return $this->
getDependency($DIC, $fullyQualifiedDomainName, $for);
53 $dependency_map =
new static();
54 $dependency_map->maps = array_merge([$map], $this->maps);
56 return $dependency_map;
64 foreach ($this->maps as $map) {
65 $result = $map(
$DIC, $fullyQualifiedDomainName, $for);
72 .
" could not be resolved.");
getDependency(Container $DIC, string $fullyQualifiedDomainName, string $for)
mixed
getDependencyWith(Container $DIC, string $fullyQualifiedDomainName, string $for, callable $map)
mixed
with(callable $map)
Returns a new dependency map with the given mapping.
Customizing of pimple-DIC for ILIAS.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...