CodeExplorer EmptyClassStub example
\E_USER_NOTICE
);
return $targetObject->
$name;
} $targetObject =
$this->valueHolder%s;
$accessor =
function D
() use ($targetObject,
$name) { return $targetObject->
$name;
};
$backtrace =
debug_backtrace(true, 2
);
$scopeObject =
isset($backtrace[1
]['object'
]) ?
$backtrace[1
]['object'
] :
new \ProxyManager\Stub\
EmptyClassStub();
$accessor =
$accessor->
bindTo($scopeObject,
get_class($scopeObject));
$returnValue = &
$accessor();
return $returnValue;
} public function __set($name,
$value) { $this->initializer%s
&& ($this->initializer%s->
__invoke($valueHolder%s,
$this, '__set', array
('name' =>
$name, 'value' =>
$value),
$this->initializer%s
) || 1
) &&
$this->valueHolder%s =
$valueHolder%s;
$realInstanceReflection =
new \
ReflectionClass(__CLASS__
);