Verzeichnisstruktur phpBB-3.3.15
- Veröffentlicht
- 28.08.2024
So funktioniert es
|
Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück |
Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
LazyLoadingInterface.php
01 <?php
02
03 declare(strict_types=1);
04
05 namespace ProxyManager\Proxy;
06
07 /**
08 * Lazy loading object identifier
09 *
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 }
49