public static function all(CommandInterface $command, $prefix)
    {
        if ($arguments = $command->getArguments()) {
            foreach ($arguments as &$key) {
                $key = "$prefix$key";
            }
            $arguments = [$arguments];

            $command->setRawArguments($arguments);
        }
    }
public static function all(CommandInterface $command, $prefix)
    {
        if ($arguments = $command->getArguments()) {
            foreach ($arguments as &$key) {
                $key = "$prefix$key";
            }
            $arguments = [$arguments];

            $command->setRawArguments($arguments);
        }
    }
public static function all ( CommandInterface $ command , $ prefix ) { if ( $ arguments = $ command -> getArguments ( ) ) { foreach ( $ arguments as & $ key ) { $ key = "$prefix$key" ; } $ arguments = [ $ arguments ] ; $ command -> setRawArguments ( $ arguments ) ; } }
Applies the specified prefix to all the arguments.

@param CommandInterface $command Command instance.
@param string           $prefix  Prefix string.
Applies the specified prefix to all the arguments .