php-parser/lib/PhpParser/Node/Stmt/Use.php

26 lines
516 B
PHP
Raw Normal View History

2011-06-05 18:40:04 +02:00
<?php
namespace PhpParser\Node\Stmt;
use PhpParser\Node\Stmt;
2011-06-05 18:40:04 +02:00
/**
* @property UseUse[] $uses Aliases
2011-06-05 18:40:04 +02:00
*/
class Use_ extends Stmt
2011-06-05 18:40:04 +02:00
{
/**
2011-10-15 19:28:15 +02:00
* Constructs an alias (use) list node.
*
* @param UseUse[] $uses Aliases
* @param array $attributes Additional attributes
*/
public function __construct(array $uses, array $attributes = array()) {
parent::__construct(
array(
'uses' => $uses,
),
$attributes
);
}
2011-06-05 18:40:04 +02:00
}