[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Summary view] [Print] [Text view]
1 <?php 2 3 declare(strict_types=1); 4 5 namespace ProxyManager\Proxy; 6 7 /** 8 * Lazy loading object identifier 9 * 10 * @author Marco Pivetta <ocramius@gmail.com> 11 * @license MIT 12 */ 13 interface LazyLoadingInterface extends ProxyInterface 14 { 15 /** 16 * Set or unset the initializer for the proxy instance 17 * 18 * @link https://github.com/Ocramius/ProxyManager/blob/master/docs/lazy-loading-value-holder.md#lazy-initialization 19 * 20 * An initializer should have a signature like following: 21 * 22 * <code> 23 * $initializer = function (& $wrappedObject, $proxy, string $method, array $parameters, & $initializer) {}; 24 * </code> 25 * 26 * @param \Closure|null $initializer 27 * 28 * @return mixed 29 */ 30 public function setProxyInitializer(\Closure $initializer = null); 31 32 /** 33 * @return \Closure|null 34 */ 35 public function getProxyInitializer(); 36 37 /** 38 * Force initialization of the proxy 39 * 40 * @return bool true if the proxy could be initialized 41 */ 42 public function initializeProxy() : bool; 43 44 /** 45 * Retrieves current initialization status of the proxy 46 */ 47 public function isProxyInitialized() : bool; 48 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |