src/View.php
function fetch(string $name) : self {
        if (!isset(self::$_templates[$name])) {
            Console::warning("View \"$name\" not exist.");
            return $this;
        }
        if (self::$_templates[$name] === false)
            $this->_temp = Server::$memcached->get('view_'.$name);
        else
            $this->_temp = self::$_templates[$name];
        return $this;
    }
function fetch(string $name) : self {
        if (!isset(self::$_templates[$name])) {
            Console::warning("View \"$name\" not exist.");
            return $this;
        }
        if (self::$_templates[$name] === false)
            $this->_temp = Server::$memcached->get('view_'.$name);
        else
            $this->_temp = self::$_templates[$name];
        return $this;
    }
获取视图

@param string $name
@return self