Searched refs:getMethod (Results 1 – 2 of 2) sorted by relevance
134 $this->assertSame($methodConstruct, $class->getMethod('__construct'));135 $this->assertSame($methodTest, $class->getMethod('test'));136 $this->assertNull($class->getMethod('nonExisting'));
100 public function getMethod(string $name): ?ClassMethod { function in PhpParser\\Node\\Stmt\\ClassLike
Completed in 6 milliseconds