public getLazyDependencyByHash ( string $hash, &$propertyReferenceVariable ) : mixed | ||
$hash | string | |
return | mixed |
public function getLazyDependencyByHash($hash, &$propertyReferenceVariable)
{
if (!isset($this->dependencyProxies[$hash])) {
return null;
}
$this->dependencyProxies[$hash]->_addPropertyVariable($propertyReferenceVariable);
return $this->dependencyProxies[$hash];
}