public function getToken()
    {
        if (!isset($this->token)) {
            $this->token = $this->csrf->getToken();
        }

        return $this->token;
    }
public function getToken()
    {
        if (!isset($this->token)) {
            $this->token = $this->csrf->getToken();
        }

        return $this->token;
    }
public function getToken ( ) { if ( ! isset ( $ this -> token ) ) { $ this -> token = $ this -> csrf -> getToken ( ) ; } return $ this -> token ; }
Returns the generated token.

The token is generated the first time this method is called. Further
calls to this method will always return the same token.

@return string The generated token
Returns the generated token .