29 $result =
$map($DIC, $fullyQualifiedDomainName, $for);
33 return $this->
getDependency($DIC, $fullyQualifiedDomainName, $for);
48 $dependencyMap =
new static();
49 $dependencyMap->maps = array_merge([$map], $this->maps);
51 return $dependencyMap;
60 foreach ($this->maps as
$map) {
61 $result =
$map($DIC, $fullyQualifiedDomainName, $for);
68 .
" could not be resolved.");
getDependency(Container $DIC, $fullyQualifiedDomainName, $for)
The DIC to take the dependencies from. What domain name is requested? What class is the dependency fo...
getDependencyWith(Container $DIC, $fullyQualifiedDomainName, $for, callable $map)
The DIC to take the dependencies from. What domain name is requested? (DIC $DIC, string $fullyQualifi...
Customizing of pimple-DIC for ILIAS.
with(callable $map)
Returns a new dependency map with the given mapping.