src/Token.php
public function updateToken($token)
    {
        // Update Payload.
        $this->payLoad = [
            'token'      => $token,
            'expires_in' => 3600,
            'created'    => Carbon::now()->format('U'),
        ];

        // Save token.
        return $this->save();
    }
public function updateToken($token)
    {
        // Update Payload.
        $this->payLoad = [
            'token'      => $token,
            'expires_in' => 3600,
            'created'    => Carbon::now()->format('U'),
        ];

        // Save token.
        return $this->save();
    }
public function updateToken ( $ token ) { // Update Payload. $ this -> payLoad = [ 'token' => $ token , 'expires_in' => 3600 , 'created' => Carbon :: now ( ) -> format ( 'U' ) , ] ; // Save token. return $ this -> save ( ) ; }
Update the token.

@param string $token

@return bool
Update the token .