protected function getTokenValue($name)
    {
        $method = "get{$name}";
        
        if ($this->hasMethod($method)) {
            return $this->{$method}();
        }
        
        return $this->$name;
    }