src/Token.php
protected function create()
    {
        $token = $this->generateTokenString();

        Cache::put($this->getCacheKey(), $token, $this->expire_in);

        return $token;
    }
protected function create()
    {
        $token = $this->generateTokenString();

        Cache::put($this->getCacheKey(), $token, $this->expire_in);

        return $token;
    }
protected function create ( ) { $ token = $ this -> generateTokenString ( ) ; Cache :: put ( $ this -> getCacheKey ( ) , $ token , $ this -> expire_in ) ; return $ token ; }
Create a new token and save as cache var

@param   void
@return  string
Create a new token and save as cache var