Home
last modified time | relevance | path

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

/PHP-Parser/test/PhpParser/Builder/
H A DUseTest.php10 protected function createUseBuilder($name, $type = Stmt\Use_::TYPE_NORMAL) { function in PhpParser\\Builder\\UseTest
15 $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 4 milliseconds