FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR */ class Conference extends \App\Entity\Conference implements Proxy { use \Symfony\Component\VarExporter\LazyGhostTrait
__construct( private Closure $initializer ) { unset(/* all properties defined by the parent */); } public function __get($name) { $this->em ??= ($this->initializer)($this); return $this->em->$name; }
public int const SKIP_DESTRUCTOR = 2; public function newLazyGhost(callable $initializer, int $options = 0): object; public function newLazyProxy(callable $factory, int $options = 0): object; public function resetAsLazyGhost(object $object, callable $initializer, int $options = 0): void; public function resetAsLazyProxy(object $object, callable $factory, int $options = 0): void; public function isUninitializedLazyObject(object $instance): bool; [...]
(no-op if the object is already initialized.) * * The backing object is returned, which can be another instance than the lazy object when the virtual strategy is used. */ public function initializeLazyObject(object $object): object; public function isUninitializedLazyObject(object $object): object; public function markLazyObjectAsInitialized(object $object): void; public function getLazyInitializer(object $object): ?callable; }
*not* triggering initialization when being accessed. */ public function skipLazyInitialization(object $object): void; /** * Sets a property *without* triggering initialization while skipping hooks if any. */ public function setRawValueWithoutLazyInitialization(object $object, mixed $value): void; }