We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0114f66 commit 7528783Copy full SHA for 7528783
1 file changed
docgen/src/ClassDesc.php
@@ -16,6 +16,11 @@ public function __construct($processor, $block)
16
17
$this->name = $block->getLineContent('@class');
18
19
+ if (substr($this->name, 0, 6) !== 'Phaser')
20
+ {
21
+ $this->name = 'PIXI.' . $this->name;
22
+ }
23
+
24
$this->processor->log("vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv");
25
$this->processor->log("Class: $this->name");
26
$this->processor->log("^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^");
@@ -30,6 +35,11 @@ public function __construct($processor, $block)
30
35
if ($block->getTypeBoolean('@extends'))
31
36
{
32
37
$this->extends = $block->getLineContent('@extends');
38
39
+ if (substr($this->extends, 0, 6) !== 'Phaser')
40
41
+ $this->extends = 'PIXI.' . $this->extends;
42
33
43
}
34
44
45
if ($block->getTypeBoolean('@constructor'))
0 commit comments