| 1 | <?php |
||
| 13 | class UseStatements extends ArrayObject { |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param UseStatement $useStatement |
||
| 17 | * @return UseStatements |
||
| 18 | */ |
||
| 19 | 1 | public function add(UseStatement $useStatement): UseStatements { |
|
| 24 | |||
| 25 | /** |
||
| 26 | * @param string $class |
||
| 27 | * @return bool |
||
| 28 | */ |
||
| 29 | 1 | public function hasClass(string $class): bool { |
|
| 39 | |||
| 40 | /** |
||
| 41 | * @param string $class |
||
| 42 | * @return UseStatement|null |
||
| 43 | */ |
||
| 44 | 1 | public function findUseStatement(string $class): ?UseStatement { |
|
| 54 | |||
| 55 | } |