| 1 | <?php |
||
| 23 | class UseStatement extends Reflector |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * The classname being used |
||
| 27 | * |
||
| 28 | * @var string |
||
| 29 | * @readable |
||
| 30 | */ |
||
| 31 | protected $classname; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * The name of this class in the current namespace block |
||
| 35 | * |
||
| 36 | * @var string |
||
| 37 | * @readable |
||
| 38 | */ |
||
| 39 | protected $name; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Creates the UseStatement using the given classname and used as |
||
| 43 | * name |
||
| 44 | * |
||
| 45 | * @param string $classname The classname being used |
||
| 46 | * @param string $name The name of this class in the block |
||
| 47 | */ |
||
| 48 | 23 | public function __construct(string $classname, string $name) |
|
| 53 | } |
||
| 54 |