src/Replication/ReplicationStrategy.php
protected function isSortReadOnly(CommandInterface $command)
    {
        $arguments = $command->getArguments();
        $argc = count($arguments);

        if ($argc > 1) {
            for ($i = 1; $i < $argc; ++$i) {
                $argument = strtoupper($arguments[$i]);
                if ($argument === 'STORE') {
                    return false;
                }
            }
        }

        return true;
    }
protected function isSortReadOnly(CommandInterface $command)
    {
        $arguments = $command->getArguments();
        $argc = count($arguments);

        if ($argc > 1) {
            for ($i = 1; $i < $argc; ++$i) {
                $argument = strtoupper($arguments[$i]);
                if ($argument === 'STORE') {
                    return false;
                }
            }
        }

        return true;
    }
protected function isSortReadOnly ( CommandInterface $ command ) { $ arguments = $ command -> getArguments ( ) ; $ argc = count ( $ arguments ) ; if ( $ argc > 1 ) { for ( $ i = 1 ; $ i < $ argc ; ++ $ i ) { $ argument = strtoupper ( $ arguments [ $ i ] ) ; if ( $ argument === 'STORE' ) { return false ; } } } return true ; }
Checks if a SORT command is a readable operation by parsing the arguments
array of the specified commad instance.

@param CommandInterface $command Command instance.

@return bool
Checks if a SORT command is a readable operation by parsing the arguments array of the specified commad instance .