<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\VarExporter; interface LazyObjectInterface { /** * Returns whether the object is initialized. * * @param $partial Whether partially initialized objects should be considered as initialized */ public function isLazyObjectInitialized(bool $partial = false): bool; /** * Forces initialization of a lazy object and returns it. */ public function initializeLazyObject(): object; /** * @return bool Returns false when the object cannot be reset, ie when it's not a lazy object */ public function resetLazyObject(): bool; }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
Exception | Folder | 0755 |
|
|
Internal | Folder | 0755 |
|
|
CHANGELOG.md | File | 429 B | 0644 |
|
Hydrator.php | File | 2.94 KB | 0644 |
|
Instantiator.php | File | 2.34 KB | 0644 |
|
LICENSE | File | 1.04 KB | 0644 |
|
LazyGhostTrait.php | File | 13.98 KB | 0644 |
|
LazyObjectInterface.php | File | 849 B | 0644 |
|
LazyProxyTrait.php | File | 11.95 KB | 0644 |
|
ProxyHelper.php | File | 15.74 KB | 0644 |
|
README.md | File | 5.66 KB | 0644 |
|
VarExporter.php | File | 3.5 KB | 0644 |
|
composer.json | File | 873 B | 0644 |
|