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 |
AdapterProperty.php
01 <?php
02
03 declare(strict_types=1);
04
05 namespace ProxyManager\ProxyGenerator\RemoteObject\PropertyGenerator;
06
07 use ProxyManager\Factory\RemoteObject\AdapterInterface;
08 use ProxyManager\Generator\Util\IdentifierSuffixer;
09 use Zend\Code\Generator\PropertyGenerator;
10
11 /**
12 * Property that contains the remote object adapter
13 *
14 * @author Vincent Blanchon <blanchon.vincent@gmail.com>
15 * @license MIT
16 */
17 class AdapterProperty extends PropertyGenerator
18 {
19 /**
20 * Constructor
21 *
22 * @throws \Zend\Code\Generator\Exception\InvalidArgumentException
23 */
24 public function __construct()
25 {
26 parent::__construct(IdentifierSuffixer::getIdentifier('adapter'));
27
28 $this->setVisibility(self::VISIBILITY_PRIVATE);
29 $this->setDocBlock('@var \\' . AdapterInterface::class . ' Remote web service adapter');
30 }
31 }
32