public function __construct(Node\Name $name, $alias = null, $type = Use_::TYPE_UNKNOWN, array $attributes = array()) { if (null === $alias) { $alias = $name->getLast(); } parent::__construct($attributes); $this->type = $type; $this->name = $name; $this->alias = $alias; }