drupflare/worker - v1.0.4
    Preparing search index...

    Function hoistUses

    • Moves every use Name; line at column 0 into one deduplicated block at the top (after the <?php tag when present). A use cannot sit inside the if of phpWhen or a try, and a duplicate import is fatal. Closure use (&$x) and trait use do not move.

      Parameters

      • text: string

      Returns string