Verzeichnisstruktur phpBB-3.2.0
- Veröffentlicht
- 06.01.2017
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 |
README.md
01 # Proxy Manager
02
03 This library aims at providing abstraction for generating various kinds of [proxy classes](http://marco-pivetta.com/proxy-pattern-in-php/).
04
05 
06
07 [](https://travis-ci.org/Ocramius/ProxyManager)
08 [](https://scrutinizer-ci.com/g/Ocramius/ProxyManager/)
09 [](https://scrutinizer-ci.com/g/Ocramius/ProxyManager/)
10 [](https://insight.sensiolabs.com/projects/69fe5f97-b1c8-4ddd-93ce-900b8b788cf2)
11 [](https://www.versioneye.com/package/php--ocramius--proxy-manager)
12 [](https://www.versioneye.com/php/ocramius:proxy-manager/references)
13 [](http://hhvm.h4cc.de/package/ocramius/proxy-manager)
14
15 [](https://packagist.org/packages/ocramius/proxy-manager)
16 [](https://packagist.org/packages/ocramius/proxy-manager)
17 [](https://packagist.org/packages/ocramius/proxy-manager)
18
19
20 ## Documentation
21
22 You can learn about the proxy pattern and how to use the **ProxyManager** on the [online documentation](http://ocramius.github.io/ProxyManager).
23
24 ## Installation
25
26 The suggested installation method is via [composer](https://getcomposer.org/):
27
28 ```sh
29 php composer.phar require ocramius/proxy-manager:1.0.*
30 ```
31
32 ## Proxy example
33
34 Here's how you build a lazy loadable object with ProxyManager using a *Virtual Proxy*
35
36 ```php
37 $factory = new \ProxyManager\Factory\LazyLoadingValueHolderFactory();
38
39 $proxy = $factory->createProxy(
40 'MyApp\HeavyComplexObject',
41 function (& $wrappedObject, $proxy, $method, $parameters, & $initializer) {
42 $wrappedObject = new HeavyComplexObject(); // instantiation logic here
43 $initializer = null; // turning off further lazy initialization
44 }
45 );
46
47 $proxy->doFoo();
48 ```
49
50 See the [online documentation](http://ocramius.github.io/ProxyManager) for more supported proxy types and examples.
51