Home
last modified time | relevance | path

Searched refs:className (Results 1 – 4 of 4) sorted by relevance

/PHP-Parser/test/code/parser/expr/uvs/
H A Dnew.test4 new $className;
5 new $array['className'];
6 new $obj->className;
7 new Test::$className;
8 new $test::$className;
9 new $weird[0]->foo::$className;
15 name: className
28 value: className
42 name: className
56 name: className
[all …]
/PHP-Parser/lib/PhpParser/
H A DJsonDecoder.php73 $className = $value['nodeType'] === 'Comment' ? Comment::class : Comment\Doc::class;
78 return new $className(
88 $className = $this->classNameFromNodeType($nodeType);
89 $this->reflectionClassCache[$nodeType] = new \ReflectionClass($className);
96 $className = 'PhpParser\\Node\\' . strtr($nodeType, '_', '\\');
97 if (class_exists($className)) {
98 return $className;
101 $className .= '_';
102 if (class_exists($className)) {
103 return $className;
/PHP-Parser/test/code/parser/expr/
H A Dalternative_array_syntax.test12 new $array{'className'};
122 value: className
159 new $array{'className'};
307 value: className
/PHP-Parser/test/PhpParser/
H A DBuilderFactoryTest.php18 public function testFactory($methodName, $className): void { argument
20 $this->assertInstanceOf($className, $factory->$methodName('test'));

Completed in 11 milliseconds