Predis\Replication\ReplicationStrategy::getDisallowedOperations PHP Method

getDisallowedOperations() protected method

Returns the default list of disallowed commands.
protected getDisallowedOperations ( ) : array
return array
    protected function getDisallowedOperations()
    {
        return array('SHUTDOWN' => true, 'INFO' => true, 'DBSIZE' => true, 'LASTSAVE' => true, 'CONFIG' => true, 'MONITOR' => true, 'SLAVEOF' => true, 'SAVE' => true, 'BGSAVE' => true, 'BGREWRITEAOF' => true, 'SLOWLOG' => true);
    }