PHP bitExpert\Disco\Proxy\LazyBean\MethodGenerator Namespace

Classes

Name Description
MagicSleep `__sleep` method for lazy loading value holder objects. Will return the beanId for the serialization process to that the "real" instance can be fetched again when the `__wakeup` method gets called. This way we ensure that singleton dependencies are properly fetched again from the {@link \bitExpert\Disco\BeanFactory}.
MagicWakeup `__wakeup` method for lazy loading value holder objects. Will fetch the dependency from the {@link \bitExpert\Disco\BeanFactory} during the unserialization process.
WrapBeanAsLazy `wrapBeanAsLazy` method for lazy loading value holder objects.