Searched refs:getProperty (Results 1 – 3 of 3) sorted by relevance
114 $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'));
65 public function getProperty(string $name): ?Property { function in PhpParser\\Node\\Stmt\\ClassLike
537 * Added `getProperty()` method to `ClassLike` nodes.
Completed in 9 milliseconds