| 1 | <?php |
||
| 17 | class UseStatementHelper extends BaseHelper |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * Returns the type for the given use statement. |
||
| 21 | * |
||
| 22 | * @param File $file |
||
| 23 | * @param UseStatement $useStatement |
||
| 24 | * |
||
| 25 | * @return string |
||
| 26 | */ |
||
| 27 | public static function getType(File $file, UseStatement $useStatement): string |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Returns the type name for the given use statement. |
||
| 39 | * |
||
| 40 | * @param File $file |
||
| 41 | * @param UseStatement $useStatement |
||
| 42 | * |
||
| 43 | * @return string |
||
| 44 | */ |
||
| 45 | public static function getTypeName(File $file, UseStatement $useStatement): string |
||
| 49 | } |
||
| 50 |