private resolveChild ( string $name ) : |
||
$name | string | The name of the unresolved child. |
return | The created instance. |
private function resolveChild($name)
{
$info = $this->unresolvedChildren[$name];
$child = $this->create($name, $info['type'], $info['options']);
$this->children[$name] = $child;
unset($this->unresolvedChildren[$name]);
return $child;
}