Home
last modified time | relevance | path

Searched refs:getProperty (Results 1 – 3 of 3) sorted by relevance

/PHP-Parser/test/PhpParser/Node/Stmt/
H A DClassTest.php114 $this->assertSame($fooProp, $class->getProperty('foo1'));
115 $this->assertSame($barProp, $class->getProperty('BAR1'));
116 $this->assertSame($fooBarProp, $class->getProperty('foo2'));
117 $this->assertSame($fooBarProp, $class->getProperty('bar2'));
118 $this->assertNull($class->getProperty('bar1'));
119 $this->assertNull($class->getProperty('nonExisting'));
/PHP-Parser/lib/PhpParser/Node/Stmt/
H A DClassLike.php65 public function getProperty(string $name): ?Property { function in PhpParser\\Node\\Stmt\\ClassLike
/PHP-Parser/
H A DCHANGELOG.md537 * Added `getProperty()` method to `ClassLike` nodes.

Completed in 12 milliseconds