Jamm\Memory\RedisServer::__call PHP Method

__call() public method

..
public __call ( $name, $args )
    public function __call($name, $args)
    {
        $command = trim(str_replace('_', ' ', $name, $replaced));
        if ($replaced > 0) {
            $commands = explode(' ', $command);
            $args = array_merge($commands, $args);
        } else {
            array_unshift($args, $command);
        }
        return $this->_send($args);
    }