1
0
Fork 0

Use reflection to get Definition props (now includes fqn and declarationLine)

pull/357/head
Rob Lourens 2017-06-07 14:23:51 -07:00
parent 586b0d6baf
commit fc7d7f419e
57 changed files with 310 additions and 5 deletions

View File

@ -92,8 +92,8 @@ class ValidationTest extends TestCase
$this->filterSkippedReferences($actualRefs); $this->filterSkippedReferences($actualRefs);
$actualDefs = $this->getTestValuesFromDefs($document->getDefinitions()); $actualDefs = $this->getTestValuesFromDefs($document->getDefinitions());
// TODO - there's probably a more PHP-typical way to do this. Need to compare the objects parsed from json files // There's probably a more PHP-typical way to do this. Need to compare the objects parsed from json files
// to the real results. json_decode returns stdClass Objects, not arrays. // to the real objects.
$refsAndDefs = array( $refsAndDefs = array(
'references' => json_decode(json_encode($actualRefs)), 'references' => json_decode(json_encode($actualRefs)),
'definitions' => json_decode(json_encode($actualDefs)) 'definitions' => json_decode(json_encode($actualDefs))
@ -126,14 +126,13 @@ class ValidationTest extends TestCase
*/ */
private function getTestValuesFromDefs($definitions): array private function getTestValuesFromDefs($definitions): array
{ {
// TODO - use reflection to read these properties $propertyNames = get_class_vars(Definition::class);
$propertyNames = ['extends', 'isGlobal', 'isStatic', 'canBeInstantiated', 'symbolInformation', 'type', 'documentation'];
$defsForAssert = []; $defsForAssert = [];
foreach ($definitions as $definition) { foreach ($definitions as $definition) {
$fqn = $definition->fqn; $fqn = $definition->fqn;
foreach ($propertyNames as $propertyName) { foreach ($propertyNames as $propertyName => $value) {
if ($propertyName === 'symbolInformation') { if ($propertyName === 'symbolInformation') {
// Range is very often different - don't check it, for now // Range is very often different - don't check it, for now
unset($definition->$propertyName->location->range); unset($definition->$propertyName->location->range);

View File

@ -12,6 +12,7 @@
}, },
"definitions": { "definitions": {
"Fixtures\\Prophecy": { "Fixtures\\Prophecy": {
"fqn": "Fixtures\\Prophecy",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -25,9 +26,11 @@
"containerName": "Fixtures" "containerName": "Fixtures"
}, },
"type": null, "type": null,
"declarationLine": "namespace Fixtures\\Prophecy;",
"documentation": null "documentation": null
}, },
"Fixtures\\Prophecy\\WithReturnTypehints": { "Fixtures\\Prophecy\\WithReturnTypehints": {
"fqn": "Fixtures\\Prophecy\\WithReturnTypehints",
"extends": [ "extends": [
"Fixtures\\Prophecy\\EmptyClass" "Fixtures\\Prophecy\\EmptyClass"
], ],
@ -43,9 +46,11 @@
"containerName": "Fixtures\\Prophecy" "containerName": "Fixtures\\Prophecy"
}, },
"type": null, "type": null,
"declarationLine": "class WithReturnTypehints extends EmptyClass",
"documentation": null "documentation": null
}, },
"Fixtures\\Prophecy\\WithReturnTypehints->getSelf()": { "Fixtures\\Prophecy\\WithReturnTypehints->getSelf()": {
"fqn": "Fixtures\\Prophecy\\WithReturnTypehints->getSelf()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -60,9 +65,11 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Object_", "type__class": "phpDocumentor\\Reflection\\Types\\Object_",
"type": {}, "type": {},
"declarationLine": "public function getSelf(): self {",
"documentation": null "documentation": null
}, },
"Fixtures\\Prophecy\\WithReturnTypehints->getName()": { "Fixtures\\Prophecy\\WithReturnTypehints->getName()": {
"fqn": "Fixtures\\Prophecy\\WithReturnTypehints->getName()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -77,9 +84,11 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\String_", "type__class": "phpDocumentor\\Reflection\\Types\\String_",
"type": {}, "type": {},
"declarationLine": "public function getName(): string {",
"documentation": null "documentation": null
}, },
"Fixtures\\Prophecy\\WithReturnTypehints->getParent()": { "Fixtures\\Prophecy\\WithReturnTypehints->getParent()": {
"fqn": "Fixtures\\Prophecy\\WithReturnTypehints->getParent()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -94,6 +103,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Object_", "type__class": "phpDocumentor\\Reflection\\Types\\Object_",
"type": {}, "type": {},
"declarationLine": "public function getParent(): parent {",
"documentation": null "documentation": null
} }
} }

View File

@ -2,6 +2,7 @@
"references": [], "references": [],
"definitions": { "definitions": {
"MyNamespace": { "MyNamespace": {
"fqn": "MyNamespace",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -15,6 +16,7 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace MyNamespace;",
"documentation": null "documentation": null
} }
} }

View File

@ -2,6 +2,7 @@
"references": [], "references": [],
"definitions": { "definitions": {
"A": { "A": {
"fqn": "A",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -15,9 +16,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "class A {",
"documentation": null "documentation": null
}, },
"A->foo": { "A->foo": {
"fqn": "A->foo",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -32,6 +35,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Array_", "type__class": "phpDocumentor\\Reflection\\Types\\Array_",
"type": {}, "type": {},
"declarationLine": "protected $foo;",
"documentation": null "documentation": null
} }
} }

View File

@ -9,6 +9,7 @@
}, },
"definitions": { "definitions": {
"MyNamespace": { "MyNamespace": {
"fqn": "MyNamespace",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -22,6 +23,7 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace MyNamespace;",
"documentation": null "documentation": null
} }
} }

View File

@ -9,6 +9,7 @@
}, },
"definitions": { "definitions": {
"TestNamespace": { "TestNamespace": {
"fqn": "TestNamespace",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -22,9 +23,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace TestNamespace;",
"documentation": null "documentation": null
}, },
"TestNamespace\\A": { "TestNamespace\\A": {
"fqn": "TestNamespace\\A",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -38,9 +41,11 @@
"containerName": "TestNamespace" "containerName": "TestNamespace"
}, },
"type": null, "type": null,
"declarationLine": "class A {",
"documentation": null "documentation": null
}, },
"TestNamespace\\A->a": { "TestNamespace\\A->a": {
"fqn": "TestNamespace\\A->a",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -55,6 +60,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Integer", "type__class": "phpDocumentor\\Reflection\\Types\\Integer",
"type": {}, "type": {},
"declarationLine": "public $a;",
"documentation": null "documentation": null
} }
} }

View File

@ -9,6 +9,7 @@
}, },
"definitions": { "definitions": {
"TestNamespace": { "TestNamespace": {
"fqn": "TestNamespace",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -22,9 +23,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace TestNamespace;",
"documentation": null "documentation": null
}, },
"TestNamespace\\TestClass": { "TestNamespace\\TestClass": {
"fqn": "TestNamespace\\TestClass",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -38,9 +41,11 @@
"containerName": "TestNamespace" "containerName": "TestNamespace"
}, },
"type": null, "type": null,
"declarationLine": "class TestClass",
"documentation": null "documentation": null
}, },
"TestNamespace\\TestClass->testProperty": { "TestNamespace\\TestClass->testProperty": {
"fqn": "TestNamespace\\TestClass->testProperty",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -55,9 +60,11 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "public $testProperty;",
"documentation": null "documentation": null
}, },
"TestNamespace\\TestClass->testMethod()": { "TestNamespace\\TestClass->testMethod()": {
"fqn": "TestNamespace\\TestClass->testMethod()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -72,6 +79,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "public function testMethod($testParameter)",
"documentation": null "documentation": null
} }
} }

View File

@ -9,6 +9,7 @@
}, },
"definitions": { "definitions": {
"MyNamespace": { "MyNamespace": {
"fqn": "MyNamespace",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -22,9 +23,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace MyNamespace;",
"documentation": null "documentation": null
}, },
"MyNamespace\\A": { "MyNamespace\\A": {
"fqn": "MyNamespace\\A",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -38,9 +41,11 @@
"containerName": "MyNamespace" "containerName": "MyNamespace"
}, },
"type": null, "type": null,
"declarationLine": "class A",
"documentation": null "documentation": null
}, },
"MyNamespace\\A::suite()": { "MyNamespace\\A::suite()": {
"fqn": "MyNamespace\\A::suite()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": true, "isStatic": true,
@ -55,6 +60,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "public static function suite()",
"documentation": null "documentation": null
} }
} }

View File

@ -9,6 +9,7 @@
}, },
"definitions": { "definitions": {
"MyNamespace": { "MyNamespace": {
"fqn": "MyNamespace",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -22,9 +23,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace MyNamespace;",
"documentation": null "documentation": null
}, },
"MyNamespace\\A": { "MyNamespace\\A": {
"fqn": "MyNamespace\\A",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -38,9 +41,11 @@
"containerName": "MyNamespace" "containerName": "MyNamespace"
}, },
"type": null, "type": null,
"declarationLine": "class A",
"documentation": null "documentation": null
}, },
"MyNamespace\\A::suite()": { "MyNamespace\\A::suite()": {
"fqn": "MyNamespace\\A::suite()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": true, "isStatic": true,
@ -55,6 +60,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "public static function suite()",
"documentation": null "documentation": null
} }
} }

View File

@ -9,6 +9,7 @@
}, },
"definitions": { "definitions": {
"MyNamespace": { "MyNamespace": {
"fqn": "MyNamespace",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -22,9 +23,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace MyNamespace;",
"documentation": null "documentation": null
}, },
"MyNamespace\\A": { "MyNamespace\\A": {
"fqn": "MyNamespace\\A",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -38,9 +41,11 @@
"containerName": "MyNamespace" "containerName": "MyNamespace"
}, },
"type": null, "type": null,
"declarationLine": "class A",
"documentation": null "documentation": null
}, },
"MyNamespace\\A::suite()": { "MyNamespace\\A::suite()": {
"fqn": "MyNamespace\\A::suite()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": true, "isStatic": true,
@ -55,6 +60,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "public static function suite()",
"documentation": null "documentation": null
} }
} }

View File

@ -9,6 +9,7 @@
}, },
"definitions": { "definitions": {
"MyNamespace": { "MyNamespace": {
"fqn": "MyNamespace",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -22,9 +23,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace MyNamespace;",
"documentation": null "documentation": null
}, },
"MyNamespace\\A": { "MyNamespace\\A": {
"fqn": "MyNamespace\\A",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -38,9 +41,11 @@
"containerName": "MyNamespace" "containerName": "MyNamespace"
}, },
"type": null, "type": null,
"declarationLine": "class A",
"documentation": null "documentation": null
}, },
"MyNamespace\\A->suite()": { "MyNamespace\\A->suite()": {
"fqn": "MyNamespace\\A->suite()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -55,6 +60,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "public function suite()",
"documentation": null "documentation": null
} }
} }

View File

@ -6,6 +6,7 @@
}, },
"definitions": { "definitions": {
"MyNamespace": { "MyNamespace": {
"fqn": "MyNamespace",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -19,9 +20,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace MyNamespace;",
"documentation": null "documentation": null
}, },
"MyNamespace\\Mbstring": { "MyNamespace\\Mbstring": {
"fqn": "MyNamespace\\Mbstring",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -35,9 +38,11 @@
"containerName": "MyNamespace" "containerName": "MyNamespace"
}, },
"type": null, "type": null,
"declarationLine": "class Mbstring",
"documentation": null "documentation": null
}, },
"MyNamespace\\Mbstring::MB_CASE_FOLD": { "MyNamespace\\Mbstring::MB_CASE_FOLD": {
"fqn": "MyNamespace\\Mbstring::MB_CASE_FOLD",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -52,6 +57,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Object_", "type__class": "phpDocumentor\\Reflection\\Types\\Object_",
"type": {}, "type": {},
"declarationLine": "const MB_CASE_FOLD = PHP_INT_MAX;",
"documentation": null "documentation": null
} }
} }

View File

@ -6,6 +6,7 @@
}, },
"definitions": { "definitions": {
"A": { "A": {
"fqn": "A",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -19,9 +20,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "interface A {",
"documentation": null "documentation": null
}, },
"A->b()": { "A->b()": {
"fqn": "A->b()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -36,6 +39,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "function b ($a = MY_CONSTANT);",
"documentation": null "documentation": null
} }
} }

View File

@ -2,6 +2,7 @@
"references": [], "references": [],
"definitions": { "definitions": {
"MyNamespace": { "MyNamespace": {
"fqn": "MyNamespace",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -15,6 +16,7 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace MyNamespace;",
"documentation": null "documentation": null
} }
} }

View File

@ -2,6 +2,7 @@
"references": [], "references": [],
"definitions": { "definitions": {
"MyNamespace": { "MyNamespace": {
"fqn": "MyNamespace",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -15,6 +16,7 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace MyNamespace;",
"documentation": null "documentation": null
} }
} }

View File

@ -9,6 +9,7 @@
}, },
"definitions": { "definitions": {
"MyNamespace": { "MyNamespace": {
"fqn": "MyNamespace",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -22,6 +23,7 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace MyNamespace;",
"documentation": null "documentation": null
} }
} }

View File

@ -2,6 +2,7 @@
"references": [], "references": [],
"definitions": { "definitions": {
"A": { "A": {
"fqn": "A",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -15,6 +16,7 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "interface A {",
"documentation": null "documentation": null
} }
} }

View File

@ -2,6 +2,7 @@
"references": [], "references": [],
"definitions": { "definitions": {
"B": { "B": {
"fqn": "B",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -15,6 +16,7 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace B;",
"documentation": null "documentation": null
} }
} }

View File

@ -2,6 +2,7 @@
"references": [], "references": [],
"definitions": { "definitions": {
"A": { "A": {
"fqn": "A",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -15,9 +16,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "class A {",
"documentation": null "documentation": null
}, },
"A::$deprecationsTriggered": { "A::$deprecationsTriggered": {
"fqn": "A::$deprecationsTriggered",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": true, "isStatic": true,
@ -32,6 +35,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Array_", "type__class": "phpDocumentor\\Reflection\\Types\\Array_",
"type": {}, "type": {},
"declarationLine": "private static $deprecationsTriggered;",
"documentation": null "documentation": null
} }
} }

View File

@ -9,6 +9,7 @@
}, },
"definitions": { "definitions": {
"MyNamespace": { "MyNamespace": {
"fqn": "MyNamespace",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -22,9 +23,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace MyNamespace;",
"documentation": null "documentation": null
}, },
"MyNamespace\\A": { "MyNamespace\\A": {
"fqn": "MyNamespace\\A",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -38,9 +41,11 @@
"containerName": "MyNamespace" "containerName": "MyNamespace"
}, },
"type": null, "type": null,
"declarationLine": "class A {",
"documentation": null "documentation": null
}, },
"MyNamespace\\A::a()": { "MyNamespace\\A::a()": {
"fqn": "MyNamespace\\A::a()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": true, "isStatic": true,
@ -55,6 +60,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "static function a() {",
"documentation": null "documentation": null
} }
} }

View File

@ -9,6 +9,7 @@
}, },
"definitions": { "definitions": {
"MyNamespace": { "MyNamespace": {
"fqn": "MyNamespace",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -22,9 +23,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace MyNamespace;",
"documentation": null "documentation": null
}, },
"MyNamespace\\A": { "MyNamespace\\A": {
"fqn": "MyNamespace\\A",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -38,9 +41,11 @@
"containerName": "MyNamespace" "containerName": "MyNamespace"
}, },
"type": null, "type": null,
"declarationLine": "class A {",
"documentation": null "documentation": null
}, },
"MyNamespace\\A::a()": { "MyNamespace\\A::a()": {
"fqn": "MyNamespace\\A::a()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": true, "isStatic": true,
@ -55,6 +60,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "static function a() {",
"documentation": null "documentation": null
} }
} }

View File

@ -24,6 +24,7 @@
}, },
"definitions": { "definitions": {
"MyNamespace": { "MyNamespace": {
"fqn": "MyNamespace",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -37,9 +38,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace MyNamespace;",
"documentation": null "documentation": null
}, },
"MyNamespace\\A": { "MyNamespace\\A": {
"fqn": "MyNamespace\\A",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -53,9 +56,11 @@
"containerName": "MyNamespace" "containerName": "MyNamespace"
}, },
"type": null, "type": null,
"declarationLine": "class A {",
"documentation": null "documentation": null
}, },
"MyNamespace\\A::getInitializer()": { "MyNamespace\\A::getInitializer()": {
"fqn": "MyNamespace\\A::getInitializer()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": true, "isStatic": true,
@ -70,6 +75,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "public static function getInitializer(ClassLoader $loader)",
"documentation": null "documentation": null
} }
} }

View File

@ -15,6 +15,7 @@
}, },
"definitions": { "definitions": {
"MyNamespace": { "MyNamespace": {
"fqn": "MyNamespace",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -28,9 +29,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace MyNamespace;",
"documentation": null "documentation": null
}, },
"MyNamespace\\A": { "MyNamespace\\A": {
"fqn": "MyNamespace\\A",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -44,9 +47,11 @@
"containerName": "MyNamespace" "containerName": "MyNamespace"
}, },
"type": null, "type": null,
"declarationLine": "class A {",
"documentation": null "documentation": null
}, },
"MyNamespace\\A->testRequest()": { "MyNamespace\\A->testRequest()": {
"fqn": "MyNamespace\\A->testRequest()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -61,6 +66,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "public function testRequest()",
"documentation": null "documentation": null
} }
} }

View File

@ -2,6 +2,7 @@
"references": [], "references": [],
"definitions": { "definitions": {
"MyNamespace": { "MyNamespace": {
"fqn": "MyNamespace",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -15,9 +16,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace MyNamespace;",
"documentation": null "documentation": null
}, },
"MyNamespace\\ParseErrorsTest": { "MyNamespace\\ParseErrorsTest": {
"fqn": "MyNamespace\\ParseErrorsTest",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -31,9 +34,11 @@
"containerName": "MyNamespace" "containerName": "MyNamespace"
}, },
"type": null, "type": null,
"declarationLine": "class ParseErrorsTest {",
"documentation": null "documentation": null
}, },
"MyNamespace\\ParseErrorsTest->setUp()": { "MyNamespace\\ParseErrorsTest->setUp()": {
"fqn": "MyNamespace\\ParseErrorsTest->setUp()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -48,6 +53,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "public function setUp()",
"documentation": null "documentation": null
} }
} }

View File

@ -12,6 +12,7 @@
}, },
"definitions": { "definitions": {
"MyNamespace": { "MyNamespace": {
"fqn": "MyNamespace",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -25,9 +26,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace MyNamespace;",
"documentation": null "documentation": null
}, },
"MyNamespace\\ParseErrorsTest": { "MyNamespace\\ParseErrorsTest": {
"fqn": "MyNamespace\\ParseErrorsTest",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -41,9 +44,11 @@
"containerName": "MyNamespace" "containerName": "MyNamespace"
}, },
"type": null, "type": null,
"declarationLine": "class ParseErrorsTest",
"documentation": null "documentation": null
}, },
"MyNamespace\\ParseErrorsTest->setAccount()": { "MyNamespace\\ParseErrorsTest->setAccount()": {
"fqn": "MyNamespace\\ParseErrorsTest->setAccount()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -58,6 +63,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "public function setAccount(AccountInterface $account)",
"documentation": null "documentation": null
} }
} }

View File

@ -15,6 +15,7 @@
}, },
"definitions": { "definitions": {
"MyNamespace1": { "MyNamespace1": {
"fqn": "MyNamespace1",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -28,9 +29,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace MyNamespace1;",
"documentation": null "documentation": null
}, },
"MyNamespace1\\B": { "MyNamespace1\\B": {
"fqn": "MyNamespace1\\B",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -44,9 +47,11 @@
"containerName": "MyNamespace1" "containerName": "MyNamespace1"
}, },
"type": null, "type": null,
"declarationLine": "class B {",
"documentation": null "documentation": null
}, },
"MyNamespace1\\B->b()": { "MyNamespace1\\B->b()": {
"fqn": "MyNamespace1\\B->b()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -61,9 +66,11 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "function b() {",
"documentation": null "documentation": null
}, },
"MyNamespace2": { "MyNamespace2": {
"fqn": "MyNamespace2",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -77,9 +84,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace MyNamespace2;",
"documentation": null "documentation": null
}, },
"MyNamespace2\\A": { "MyNamespace2\\A": {
"fqn": "MyNamespace2\\A",
"extends": [ "extends": [
"MyNamespace2\\MyNamespace1\\B" "MyNamespace2\\MyNamespace1\\B"
], ],
@ -95,9 +104,11 @@
"containerName": "MyNamespace2" "containerName": "MyNamespace2"
}, },
"type": null, "type": null,
"declarationLine": "class A extends MyNamespace1\\B {",
"documentation": null "documentation": null
}, },
"MyNamespace2\\A->a()": { "MyNamespace2\\A->a()": {
"fqn": "MyNamespace2\\A->a()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -112,6 +123,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "function a () {",
"documentation": null "documentation": null
} }
} }

View File

@ -2,6 +2,7 @@
"references": [], "references": [],
"definitions": { "definitions": {
"Foo": { "Foo": {
"fqn": "Foo",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -15,9 +16,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "class Foo",
"documentation": null "documentation": null
}, },
"Foo->fn()": { "Foo->fn()": {
"fqn": "Foo->fn()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -32,6 +35,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Object_", "type__class": "phpDocumentor\\Reflection\\Types\\Object_",
"type": {}, "type": {},
"declarationLine": "public function fn()",
"documentation": "Foo" "documentation": "Foo"
} }
} }

View File

@ -2,6 +2,7 @@
"references": [], "references": [],
"definitions": { "definitions": {
"A": { "A": {
"fqn": "A",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -15,9 +16,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "class A {",
"documentation": null "documentation": null
}, },
"A->b()": { "A->b()": {
"fqn": "A->b()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -32,6 +35,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "function b() {",
"documentation": null "documentation": null
} }
} }

View File

@ -15,6 +15,7 @@
}, },
"definitions": { "definitions": {
"MyNamespace1": { "MyNamespace1": {
"fqn": "MyNamespace1",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -28,6 +29,7 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace MyNamespace1;",
"documentation": null "documentation": null
} }
} }

View File

@ -24,6 +24,7 @@
}, },
"definitions": { "definitions": {
"B": { "B": {
"fqn": "B",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -37,6 +38,7 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace B;",
"documentation": null "documentation": null
} }
} }

View File

@ -2,6 +2,7 @@
"references": [], "references": [],
"definitions": { "definitions": {
"A\\B": { "A\\B": {
"fqn": "A\\B",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -15,6 +16,7 @@
"containerName": "A" "containerName": "A"
}, },
"type": null, "type": null,
"declarationLine": "namespace A \\ B;",
"documentation": null "documentation": null
} }
} }

View File

@ -6,6 +6,7 @@
}, },
"definitions": { "definitions": {
"LanguageServer\\Tests\\Utils": { "LanguageServer\\Tests\\Utils": {
"fqn": "LanguageServer\\Tests\\Utils",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -19,6 +20,7 @@
"containerName": "LanguageServer\\Tests" "containerName": "LanguageServer\\Tests"
}, },
"type": null, "type": null,
"declarationLine": "namespace LanguageServer\\Tests\\Utils;",
"documentation": null "documentation": null
} }
} }

View File

@ -6,6 +6,7 @@
}, },
"definitions": { "definitions": {
"MyNamespace": { "MyNamespace": {
"fqn": "MyNamespace",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -19,9 +20,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace MyNamespace;",
"documentation": null "documentation": null
}, },
"MyNamespace\\A": { "MyNamespace\\A": {
"fqn": "MyNamespace\\A",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -35,9 +38,11 @@
"containerName": "MyNamespace" "containerName": "MyNamespace"
}, },
"type": null, "type": null,
"declarationLine": "class A {",
"documentation": null "documentation": null
}, },
"MyNamespace\\A->a()": { "MyNamespace\\A->a()": {
"fqn": "MyNamespace\\A->a()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -52,6 +57,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "function a () {",
"documentation": null "documentation": null
} }
} }

View File

@ -9,6 +9,7 @@
}, },
"definitions": { "definitions": {
"MyNamespace": { "MyNamespace": {
"fqn": "MyNamespace",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -22,9 +23,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace MyNamespace;",
"documentation": null "documentation": null
}, },
"MyNamespace\\B": { "MyNamespace\\B": {
"fqn": "MyNamespace\\B",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -38,9 +41,11 @@
"containerName": "MyNamespace" "containerName": "MyNamespace"
}, },
"type": null, "type": null,
"declarationLine": "class B {",
"documentation": null "documentation": null
}, },
"MyNamespace\\A": { "MyNamespace\\A": {
"fqn": "MyNamespace\\A",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -54,9 +59,11 @@
"containerName": "MyNamespace" "containerName": "MyNamespace"
}, },
"type": null, "type": null,
"declarationLine": "class A {",
"documentation": null "documentation": null
}, },
"MyNamespace\\A->a()": { "MyNamespace\\A->a()": {
"fqn": "MyNamespace\\A->a()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -71,6 +78,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "function a () {",
"documentation": null "documentation": null
} }
} }

View File

@ -6,6 +6,7 @@
}, },
"definitions": { "definitions": {
"A": { "A": {
"fqn": "A",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -19,9 +20,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "class A {",
"documentation": null "documentation": null
}, },
"A->a()": { "A->a()": {
"fqn": "A->a()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -36,6 +39,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "function a () {",
"documentation": null "documentation": null
} }
} }

View File

@ -6,6 +6,7 @@
}, },
"definitions": { "definitions": {
"MyNamespace": { "MyNamespace": {
"fqn": "MyNamespace",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -19,9 +20,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace MyNamespace;",
"documentation": null "documentation": null
}, },
"MyNamespace\\init()": { "MyNamespace\\init()": {
"fqn": "MyNamespace\\init()",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -36,6 +39,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "function init(Hi $view)",
"documentation": null "documentation": null
} }
} }

View File

@ -9,6 +9,7 @@
}, },
"definitions": { "definitions": {
"MyNamespace": { "MyNamespace": {
"fqn": "MyNamespace",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -22,9 +23,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace MyNamespace;",
"documentation": null "documentation": null
}, },
"MyNamespace\\B": { "MyNamespace\\B": {
"fqn": "MyNamespace\\B",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -38,9 +41,11 @@
"containerName": "MyNamespace" "containerName": "MyNamespace"
}, },
"type": null, "type": null,
"declarationLine": "class B {",
"documentation": null "documentation": null
}, },
"MyNamespace\\B->b()": { "MyNamespace\\B->b()": {
"fqn": "MyNamespace\\B->b()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -55,9 +60,11 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "function b() {",
"documentation": null "documentation": null
}, },
"MyNamespace\\A": { "MyNamespace\\A": {
"fqn": "MyNamespace\\A",
"extends": [ "extends": [
"MyNamespace\\B" "MyNamespace\\B"
], ],
@ -73,9 +80,11 @@
"containerName": "MyNamespace" "containerName": "MyNamespace"
}, },
"type": null, "type": null,
"declarationLine": "class A extends B {",
"documentation": null "documentation": null
}, },
"MyNamespace\\A->a()": { "MyNamespace\\A->a()": {
"fqn": "MyNamespace\\A->a()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -90,6 +99,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "function a () {",
"documentation": null "documentation": null
} }
} }

View File

@ -12,6 +12,7 @@
}, },
"definitions": { "definitions": {
"MyNamespace": { "MyNamespace": {
"fqn": "MyNamespace",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -25,9 +26,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace MyNamespace;",
"documentation": null "documentation": null
}, },
"MyNamespace\\B": { "MyNamespace\\B": {
"fqn": "MyNamespace\\B",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -41,9 +44,11 @@
"containerName": "MyNamespace" "containerName": "MyNamespace"
}, },
"type": null, "type": null,
"declarationLine": "class B {",
"documentation": null "documentation": null
}, },
"MyNamespace\\B->b()": { "MyNamespace\\B->b()": {
"fqn": "MyNamespace\\B->b()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -58,9 +63,11 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "function b() {",
"documentation": null "documentation": null
}, },
"MyNamespace\\A": { "MyNamespace\\A": {
"fqn": "MyNamespace\\A",
"extends": [ "extends": [
"MyNamespace\\B" "MyNamespace\\B"
], ],
@ -76,9 +83,11 @@
"containerName": "MyNamespace" "containerName": "MyNamespace"
}, },
"type": null, "type": null,
"declarationLine": "class A extends B {",
"documentation": null "documentation": null
}, },
"MyNamespace\\A->a()": { "MyNamespace\\A->a()": {
"fqn": "MyNamespace\\A->a()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -93,6 +102,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "function a () {",
"documentation": null "documentation": null
} }
} }

View File

@ -2,6 +2,7 @@
"references": [], "references": [],
"definitions": { "definitions": {
"MyClass": { "MyClass": {
"fqn": "MyClass",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -15,9 +16,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "class MyClass",
"documentation": null "documentation": null
}, },
"MyClass->mainPropertyName": { "MyClass->mainPropertyName": {
"fqn": "MyClass->mainPropertyName",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -32,6 +35,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\String_", "type__class": "phpDocumentor\\Reflection\\Types\\String_",
"type": {}, "type": {},
"declarationLine": "protected $mainPropertyName;",
"documentation": "The name of the main property, or NULL if there is none." "documentation": "The name of the main property, or NULL if there is none."
} }
} }

View File

@ -2,6 +2,7 @@
"references": [], "references": [],
"definitions": { "definitions": {
"MyClass": { "MyClass": {
"fqn": "MyClass",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -15,9 +16,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "class MyClass",
"documentation": null "documentation": null
}, },
"MyClass->mainPropertyName": { "MyClass->mainPropertyName": {
"fqn": "MyClass->mainPropertyName",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -32,6 +35,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\String_", "type__class": "phpDocumentor\\Reflection\\Types\\String_",
"type": {}, "type": {},
"declarationLine": "protected $mainPropertyName;",
"documentation": "The name of the main property, or NULL if there is none." "documentation": "The name of the main property, or NULL if there is none."
} }
} }

View File

@ -9,6 +9,7 @@
}, },
"definitions": { "definitions": {
"TestNamespace": { "TestNamespace": {
"fqn": "TestNamespace",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -22,9 +23,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace TestNamespace;",
"documentation": null "documentation": null
}, },
"TestNamespace\\whatever()": { "TestNamespace\\whatever()": {
"fqn": "TestNamespace\\whatever()",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -39,6 +42,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Object_", "type__class": "phpDocumentor\\Reflection\\Types\\Object_",
"type": {}, "type": {},
"declarationLine": "function whatever(TestClass $param): TestClass2 {",
"documentation": "Aute duis elit reprehenderit tempor cillum proident anim laborum eu laboris reprehenderit ea incididunt." "documentation": "Aute duis elit reprehenderit tempor cillum proident anim laborum eu laboris reprehenderit ea incididunt."
} }
} }

View File

@ -9,6 +9,7 @@
}, },
"definitions": { "definitions": {
"MyNamespace": { "MyNamespace": {
"fqn": "MyNamespace",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -22,9 +23,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace MyNamespace;",
"documentation": null "documentation": null
}, },
"MyNamespace\\A": { "MyNamespace\\A": {
"fqn": "MyNamespace\\A",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -38,9 +41,11 @@
"containerName": "MyNamespace" "containerName": "MyNamespace"
}, },
"type": null, "type": null,
"declarationLine": "class A {",
"documentation": null "documentation": null
}, },
"MyNamespace\\A::a()": { "MyNamespace\\A::a()": {
"fqn": "MyNamespace\\A::a()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": true, "isStatic": true,
@ -55,6 +60,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "static function a() {",
"documentation": null "documentation": null
} }
} }

View File

@ -6,6 +6,7 @@
}, },
"definitions": { "definitions": {
"MyNamespace": { "MyNamespace": {
"fqn": "MyNamespace",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -19,6 +20,7 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace MyNamespace;",
"documentation": null "documentation": null
} }
} }

View File

@ -9,6 +9,7 @@
}, },
"definitions": { "definitions": {
"A": { "A": {
"fqn": "A",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -22,9 +23,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "class A {",
"documentation": null "documentation": null
}, },
"A::$a": { "A::$a": {
"fqn": "A::$a",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": true, "isStatic": true,
@ -39,6 +42,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\String_", "type__class": "phpDocumentor\\Reflection\\Types\\String_",
"type": {}, "type": {},
"declarationLine": "static $a;",
"documentation": null "documentation": null
} }
} }

View File

@ -15,6 +15,7 @@
}, },
"definitions": { "definitions": {
"TestClass": { "TestClass": {
"fqn": "TestClass",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -28,9 +29,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "class TestClass implements TestInterface {",
"documentation": null "documentation": null
}, },
"TestClass::$testProperty": { "TestClass::$testProperty": {
"fqn": "TestClass::$testProperty",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": true, "isStatic": true,
@ -45,6 +48,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Array_", "type__class": "phpDocumentor\\Reflection\\Types\\Array_",
"type": {}, "type": {},
"declarationLine": "public static $testProperty;",
"documentation": "Lorem excepteur officia sit anim velit veniam enim." "documentation": "Lorem excepteur officia sit anim velit veniam enim."
} }
} }

View File

@ -12,6 +12,7 @@
}, },
"definitions": { "definitions": {
"MyNamespace": { "MyNamespace": {
"fqn": "MyNamespace",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -25,9 +26,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace MyNamespace;",
"documentation": null "documentation": null
}, },
"MyNamespace\\B": { "MyNamespace\\B": {
"fqn": "MyNamespace\\B",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -41,9 +44,11 @@
"containerName": "MyNamespace" "containerName": "MyNamespace"
}, },
"type": null, "type": null,
"declarationLine": "class B {",
"documentation": null "documentation": null
}, },
"MyNamespace\\B->b()": { "MyNamespace\\B->b()": {
"fqn": "MyNamespace\\B->b()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -58,9 +63,11 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "function b() {",
"documentation": null "documentation": null
}, },
"MyNamespace\\A": { "MyNamespace\\A": {
"fqn": "MyNamespace\\A",
"extends": [ "extends": [
"MyNamespace\\B" "MyNamespace\\B"
], ],
@ -76,9 +83,11 @@
"containerName": "MyNamespace" "containerName": "MyNamespace"
}, },
"type": null, "type": null,
"declarationLine": "class A extends B {",
"documentation": null "documentation": null
}, },
"MyNamespace\\A->a()": { "MyNamespace\\A->a()": {
"fqn": "MyNamespace\\A->a()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -93,6 +102,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "function a () {",
"documentation": null "documentation": null
} }
} }

View File

@ -12,6 +12,7 @@
}, },
"definitions": { "definitions": {
"MyNamespace": { "MyNamespace": {
"fqn": "MyNamespace",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -25,9 +26,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace MyNamespace;",
"documentation": null "documentation": null
}, },
"MyNamespace\\B": { "MyNamespace\\B": {
"fqn": "MyNamespace\\B",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -41,9 +44,11 @@
"containerName": "MyNamespace" "containerName": "MyNamespace"
}, },
"type": null, "type": null,
"declarationLine": "class B {",
"documentation": null "documentation": null
}, },
"MyNamespace\\B->b()": { "MyNamespace\\B->b()": {
"fqn": "MyNamespace\\B->b()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -58,9 +63,11 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "function b() {",
"documentation": null "documentation": null
}, },
"MyNamespace\\A": { "MyNamespace\\A": {
"fqn": "MyNamespace\\A",
"extends": [ "extends": [
"MyNamespace\\B" "MyNamespace\\B"
], ],
@ -76,9 +83,11 @@
"containerName": "MyNamespace" "containerName": "MyNamespace"
}, },
"type": null, "type": null,
"declarationLine": "class A extends B {",
"documentation": null "documentation": null
}, },
"MyNamespace\\A->a()": { "MyNamespace\\A->a()": {
"fqn": "MyNamespace\\A->a()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -93,6 +102,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "function a () {",
"documentation": null "documentation": null
} }
} }

View File

@ -12,6 +12,7 @@
}, },
"definitions": { "definitions": {
"MyNamespace": { "MyNamespace": {
"fqn": "MyNamespace",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -25,9 +26,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace MyNamespace;",
"documentation": null "documentation": null
}, },
"MyNamespace\\B": { "MyNamespace\\B": {
"fqn": "MyNamespace\\B",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -41,9 +44,11 @@
"containerName": "MyNamespace" "containerName": "MyNamespace"
}, },
"type": null, "type": null,
"declarationLine": "class B {",
"documentation": null "documentation": null
}, },
"MyNamespace\\B->b()": { "MyNamespace\\B->b()": {
"fqn": "MyNamespace\\B->b()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -58,9 +63,11 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "function b() {",
"documentation": null "documentation": null
}, },
"MyNamespace\\A": { "MyNamespace\\A": {
"fqn": "MyNamespace\\A",
"extends": [ "extends": [
"MyNamespace\\B" "MyNamespace\\B"
], ],
@ -76,9 +83,11 @@
"containerName": "MyNamespace" "containerName": "MyNamespace"
}, },
"type": null, "type": null,
"declarationLine": "class A extends B {",
"documentation": null "documentation": null
}, },
"MyNamespace\\A->a()": { "MyNamespace\\A->a()": {
"fqn": "MyNamespace\\A->a()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -93,6 +102,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "function a () {",
"documentation": null "documentation": null
} }
} }

View File

@ -15,6 +15,7 @@
}, },
"definitions": { "definitions": {
"MyNamespace": { "MyNamespace": {
"fqn": "MyNamespace",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -28,9 +29,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace MyNamespace;",
"documentation": null "documentation": null
}, },
"MyNamespace\\A": { "MyNamespace\\A": {
"fqn": "MyNamespace\\A",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -44,9 +47,11 @@
"containerName": "MyNamespace" "containerName": "MyNamespace"
}, },
"type": null, "type": null,
"declarationLine": "class A",
"documentation": null "documentation": null
}, },
"MyNamespace\\A::suite()": { "MyNamespace\\A::suite()": {
"fqn": "MyNamespace\\A::suite()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": true, "isStatic": true,
@ -61,6 +66,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "public static function suite()",
"documentation": null "documentation": null
} }
} }

View File

@ -6,6 +6,7 @@
}, },
"definitions": { "definitions": {
"MyNamespace": { "MyNamespace": {
"fqn": "MyNamespace",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -19,9 +20,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace MyNamespace;",
"documentation": null "documentation": null
}, },
"MyNamespace\\A": { "MyNamespace\\A": {
"fqn": "MyNamespace\\A",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -35,9 +38,11 @@
"containerName": "MyNamespace" "containerName": "MyNamespace"
}, },
"type": null, "type": null,
"declarationLine": "class A",
"documentation": null "documentation": null
}, },
"MyNamespace\\A->typesProvider()": { "MyNamespace\\A->typesProvider()": {
"fqn": "MyNamespace\\A->typesProvider()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -52,6 +57,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "public function typesProvider()",
"documentation": null "documentation": null
} }
} }

View File

@ -12,6 +12,7 @@
}, },
"definitions": { "definitions": {
"MyNamespace": { "MyNamespace": {
"fqn": "MyNamespace",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -25,9 +26,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace MyNamespace;",
"documentation": null "documentation": null
}, },
"MyNamespace\\B": { "MyNamespace\\B": {
"fqn": "MyNamespace\\B",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -41,9 +44,11 @@
"containerName": "MyNamespace" "containerName": "MyNamespace"
}, },
"type": null, "type": null,
"declarationLine": "class B {",
"documentation": null "documentation": null
}, },
"MyNamespace\\B->b()": { "MyNamespace\\B->b()": {
"fqn": "MyNamespace\\B->b()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -58,9 +63,11 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "function b() {",
"documentation": null "documentation": null
}, },
"MyNamespace\\A": { "MyNamespace\\A": {
"fqn": "MyNamespace\\A",
"extends": [ "extends": [
"MyNamespace\\B" "MyNamespace\\B"
], ],
@ -76,9 +83,11 @@
"containerName": "MyNamespace" "containerName": "MyNamespace"
}, },
"type": null, "type": null,
"declarationLine": "class A extends B {",
"documentation": null "documentation": null
}, },
"MyNamespace\\A->a()": { "MyNamespace\\A->a()": {
"fqn": "MyNamespace\\A->a()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -93,6 +102,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "function a () {",
"documentation": null "documentation": null
} }
} }

View File

@ -12,6 +12,7 @@
}, },
"definitions": { "definitions": {
"MyNamespace": { "MyNamespace": {
"fqn": "MyNamespace",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -25,9 +26,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace MyNamespace;",
"documentation": null "documentation": null
}, },
"MyNamespace\\B": { "MyNamespace\\B": {
"fqn": "MyNamespace\\B",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -41,9 +44,11 @@
"containerName": "MyNamespace" "containerName": "MyNamespace"
}, },
"type": null, "type": null,
"declarationLine": "class B {",
"documentation": null "documentation": null
}, },
"MyNamespace\\B->b()": { "MyNamespace\\B->b()": {
"fqn": "MyNamespace\\B->b()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -58,9 +63,11 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "function b() {",
"documentation": null "documentation": null
}, },
"MyNamespace\\A": { "MyNamespace\\A": {
"fqn": "MyNamespace\\A",
"extends": [ "extends": [
"MyNamespace\\B" "MyNamespace\\B"
], ],
@ -76,9 +83,11 @@
"containerName": "MyNamespace" "containerName": "MyNamespace"
}, },
"type": null, "type": null,
"declarationLine": "class A extends B {",
"documentation": null "documentation": null
}, },
"MyNamespace\\A->a()": { "MyNamespace\\A->a()": {
"fqn": "MyNamespace\\A->a()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -93,6 +102,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "function a () {",
"documentation": null "documentation": null
} }
} }

View File

@ -12,6 +12,7 @@
}, },
"definitions": { "definitions": {
"MyNamespace": { "MyNamespace": {
"fqn": "MyNamespace",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -25,9 +26,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace MyNamespace;",
"documentation": null "documentation": null
}, },
"MyNamespace\\B": { "MyNamespace\\B": {
"fqn": "MyNamespace\\B",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -41,9 +44,11 @@
"containerName": "MyNamespace" "containerName": "MyNamespace"
}, },
"type": null, "type": null,
"declarationLine": "class B {",
"documentation": null "documentation": null
}, },
"MyNamespace\\B->b()": { "MyNamespace\\B->b()": {
"fqn": "MyNamespace\\B->b()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -58,9 +63,11 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "function b() {",
"documentation": null "documentation": null
}, },
"MyNamespace\\A": { "MyNamespace\\A": {
"fqn": "MyNamespace\\A",
"extends": [ "extends": [
"MyNamespace\\B" "MyNamespace\\B"
], ],
@ -76,9 +83,11 @@
"containerName": "MyNamespace" "containerName": "MyNamespace"
}, },
"type": null, "type": null,
"declarationLine": "class A extends B {",
"documentation": null "documentation": null
}, },
"MyNamespace\\A->a()": { "MyNamespace\\A->a()": {
"fqn": "MyNamespace\\A->a()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -93,6 +102,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "function a () {",
"documentation": null "documentation": null
} }
} }

View File

@ -9,6 +9,7 @@
}, },
"definitions": { "definitions": {
"MyNamespace": { "MyNamespace": {
"fqn": "MyNamespace",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -22,9 +23,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace MyNamespace;",
"documentation": null "documentation": null
}, },
"MyNamespace\\A": { "MyNamespace\\A": {
"fqn": "MyNamespace\\A",
"extends": [ "extends": [
"MyNamespace\\B" "MyNamespace\\B"
], ],
@ -40,9 +43,11 @@
"containerName": "MyNamespace" "containerName": "MyNamespace"
}, },
"type": null, "type": null,
"declarationLine": "class A extends B {",
"documentation": null "documentation": null
}, },
"MyNamespace\\A->a()": { "MyNamespace\\A->a()": {
"fqn": "MyNamespace\\A->a()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -57,6 +62,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "function a () {",
"documentation": null "documentation": null
} }
} }

View File

@ -2,6 +2,7 @@
"references": [], "references": [],
"definitions": { "definitions": {
"B": { "B": {
"fqn": "B",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -15,9 +16,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "class B",
"documentation": null "documentation": null
}, },
"B->hi": { "B->hi": {
"fqn": "B->hi",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -32,9 +35,11 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Integer", "type__class": "phpDocumentor\\Reflection\\Types\\Integer",
"type": {}, "type": {},
"declarationLine": "public $hi;",
"documentation": null "documentation": null
}, },
"B->a()": { "B->a()": {
"fqn": "B->a()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -49,6 +54,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "function a () {",
"documentation": null "documentation": null
} }
} }

View File

@ -6,6 +6,7 @@
}, },
"definitions": { "definitions": {
"SomeNamespace": { "SomeNamespace": {
"fqn": "SomeNamespace",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -19,6 +20,7 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "namespace SomeNamespace { }",
"documentation": null "documentation": null
} }
} }

View File

@ -9,6 +9,7 @@
}, },
"definitions": { "definitions": {
"Foo": { "Foo": {
"fqn": "Foo",
"extends": [], "extends": [],
"isGlobal": true, "isGlobal": true,
"isStatic": false, "isStatic": false,
@ -22,9 +23,11 @@
"containerName": "" "containerName": ""
}, },
"type": null, "type": null,
"declarationLine": "class Foo {",
"documentation": null "documentation": null
}, },
"Foo->bar": { "Foo->bar": {
"fqn": "Foo->bar",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -39,9 +42,11 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Object_", "type__class": "phpDocumentor\\Reflection\\Types\\Object_",
"type": {}, "type": {},
"declarationLine": "protected $bar;",
"documentation": null "documentation": null
}, },
"Foo->foo()": { "Foo->foo()": {
"fqn": "Foo->foo()",
"extends": [], "extends": [],
"isGlobal": false, "isGlobal": false,
"isStatic": false, "isStatic": false,
@ -56,6 +61,7 @@
}, },
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed", "type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
"type": {}, "type": {},
"declarationLine": "public function foo () {",
"documentation": null "documentation": null
} }
} }