src/Command/Processor/KeyPrefixProcessor.php
public static function evalKeys(CommandInterface $command, $prefix)
    {
        if ($arguments = $command->getArguments()) {
            for ($i = 2; $i < $arguments[1] + 2; ++$i) {
                $arguments[$i] = "$prefix{$arguments[$i]}";
            }

            $command->setRawArguments($arguments);
        }
    }
public static function evalKeys(CommandInterface $command, $prefix)
    {
        if ($arguments = $command->getArguments()) {
            for ($i = 2; $i < $arguments[1] + 2; ++$i) {
                $arguments[$i] = "$prefix{$arguments[$i]}";
            }

            $command->setRawArguments($arguments);
        }
    }
public static function evalKeys ( CommandInterface $ command , $ prefix ) { if ( $ arguments = $ command -> getArguments ( ) ) { for ( $ i = 2 ; $ i < $ arguments [ 1 ] + 2 ; ++ $ i ) { $ arguments [ $ i ] = "$prefix{$arguments[$i]}" ; } $ command -> setRawArguments ( $ arguments ) ; } }
Applies the specified prefix to the keys of an EVAL-based command.

@param CommandInterface $command Command instance.
@param string           $prefix  Prefix string.
Applies the specified prefix to the keys of an EVAL - based command .