Searched refs:classConst (Results 1 – 3 of 3) sorted by relevance
43 $this->assertInstanceOf(Builder\ClassConst::class, $factory->classConst('TEST', 1));322 ->addStmt($factory->classConst('CONST_WITH_ATTRIBUTE', 1)327 ->addStmt($factory->classConst("FIRST_CLASS_CONST", 1)
195 public function classConst($name, $value): Builder\ClassConst { function in PhpParser\\BuilderFactory
24 …message: "#^Method PhpParser\\\\BuilderFactory\\:\\:classConst\\(\\) has parameter \\$value with n…
Completed in 6 milliseconds