implements
Builder
public
__construct(Name|string $name, Use_::TYPE_* $type)
Creates a name use (alias) builder.
Name of the entity (namespace, class, function, constant) to alias
One of the Stmt\Use_::TYPE_* constants
as(string $alias): $this
Sets alias for used name.
Alias to use (last component of full name by default)
The builder instance (for fluid interface)
getNode(): Use_
Returns the built node.
The built node
PhpParser\Builder::getNode()
protected
Name
$name
Use_::TYPE_*
$type
?string
$alias = null