interface LazyObjectInterface
Hierarchy
- interface \Symfony\Component\VarExporter\LazyObjectInterface
Expanded class hierarchy of LazyObjectInterface
All classes that implement LazyObjectInterface
2 files declare their use of LazyObjectInterface
- DebugClassLoader.php in vendor/
symfony/ error-handler/ DebugClassLoader.php - ServicesResetter.php in vendor/
symfony/ http-kernel/ DependencyInjection/ ServicesResetter.php
File
-
vendor/
symfony/ var-exporter/ LazyObjectInterface.php, line 14
Namespace
Symfony\Component\VarExporterView source
interface LazyObjectInterface {
/**
* Returns whether the object is initialized.
*
* @param bool $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;
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
LazyObjectInterface::initializeLazyObject | public | function | Forces initialization of a lazy object and returns it. |
LazyObjectInterface::isLazyObjectInitialized | public | function | Returns whether the object is initialized. |
LazyObjectInterface::resetLazyObject | public | function |