We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7f9e15 commit 7941406Copy full SHA for 7941406
test/fixtures/class/keywords.php
@@ -0,0 +1,36 @@
1
+{
2
+ "parser": {
3
+ "extractDoc": true,
4
+ "php7": true
5
+ }
6
+}
7
+<?php
8
+final class foo extends bar implements bim, bam, boum {
9
+ const FOO = "azerty";
10
+ public static $var;
11
+ public function __construct(array $data = null) {
12
+ $this->data = $data;
13
14
+ const list = "bar";
15
+ public function new($foo = self::list) {
16
+ return $this::list;
17
18
+ protected $foo;
19
+ private $bar;
20
+ function foobar() {}
21
22
+abstract class bar {
23
+ use A, B {
24
+ B::smallTalk insteadof A;
25
+ A::bigTalk insteadof B, C;
26
+ B::bigTalk as public talk;
27
+ B::bigTalk as protected talk;
28
+ B::bigTalk as private talk;
29
+ A::new as list;
30
+ list as new;
31
32
+ /**
33
+ * Some informations
34
+ */
35
+ abstract protected function &foo() : bar;
36
0 commit comments