src/Token.php
public function save()
    {
        // No payload to save.
        if (! $this->hasPayLoad()) {
            return false;
        }

        // Save the token.
        return (bool) file_put_contents($this->getFilePath(), collect($this->payLoad)->toJson(), LOCK_EX);
    }
public function save()
    {
        // No payload to save.
        if (! $this->hasPayLoad()) {
            return false;
        }

        // Save the token.
        return (bool) file_put_contents($this->getFilePath(), collect($this->payLoad)->toJson(), LOCK_EX);
    }
public function save ( ) { // No payload to save. if ( ! $ this -> hasPayLoad ( ) ) { return false ; } // Save the token. return ( bool ) file_put_contents ( $ this -> getFilePath ( ) , collect ( $ this -> payLoad ) -> toJson ( ) , LOCK_EX ) ; }
Saves a token.

@return bool
Saves a token .