Searched refs:createUseBuilder (Results 1 – 1 of 1) sorted by relevance
10 protected function createUseBuilder($name, $type = Stmt\Use_::TYPE_NORMAL) { function in PhpParser\\Builder\\UseTest15 $node = $this->createUseBuilder('Foo\Bar')->getNode();20 $node = $this->createUseBuilder(new Name('Foo\Bar'))->as('XYZ')->getNode();25 $node = $this->createUseBuilder('foo\bar', Stmt\Use_::TYPE_FUNCTION)->as('foo')->getNode();30 $node = $this->createUseBuilder('foo\BAR', Stmt\Use_::TYPE_CONSTANT)->as('FOO')->getNode();
Completed in 3 milliseconds