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 |
MethodGenerator.php
01 <?php
02
03 declare(strict_types=1);
04
05 namespace ProxyManager\Generator;
06
07 use Zend\Code\Generator\MethodGenerator as ZendMethodGenerator;
08 use Zend\Code\Reflection\MethodReflection;
09
10 /**
11 * Method generator that fixes minor quirks in ZF2's method generator
12 *
13 * @author Marco Pivetta <ocramius@gmail.com>
14 * @license MIT
15 */
16 class MethodGenerator extends ZendMethodGenerator
17 {
18 /**
19 * {@inheritDoc}
20 */
21 public static function fromReflectionWithoutBodyAndDocBlock(MethodReflection $reflectionMethod) : self
22 {
23 /* @var $method self */
24 $method = parent::copyMethodSignature($reflectionMethod);
25
26 $method->setInterface(false);
27
28 return $method;
29 }
30 }
31