| 1 | <?php |
||
| 28 | class NamespaceBlock extends Reflector |
||
| 29 | { |
||
| 30 | /** |
||
| 31 | * Currently unused |
||
| 32 | * |
||
| 33 | * @var FlexibleList |
||
| 34 | * @readable |
||
| 35 | */ |
||
| 36 | protected $definitions; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * The name of this namespace |
||
| 40 | * |
||
| 41 | * @var string |
||
| 42 | * @readable |
||
| 43 | */ |
||
| 44 | protected $namespace; |
||
| 45 | |||
| 46 | /** |
||
| 47 | * The file this namespace is declared in |
||
| 48 | * |
||
| 49 | * @var ReflectionFile |
||
| 50 | * @readable |
||
| 51 | */ |
||
| 52 | protected $file; |
||
| 53 | |||
| 54 | /** |
||
| 55 | * Set of use statements in this namespace block |
||
| 56 | * |
||
| 57 | * @var HashMap |
||
| 58 | * @readable |
||
| 59 | */ |
||
| 60 | protected $useStatements; |
||
| 61 | |||
| 62 | /** |
||
| 63 | * Creates a new NamespaceBlock with the given name |
||
| 64 | * |
||
| 65 | * @param string $namespace The name of the namespace |
||
| 66 | */ |
||
| 67 | 23 | public function __construct(string $namespace) |
|
| 73 | } |
||
| 74 |