original_string: protected function encrypt($token)
      {
          // Serialize the token object
          $token = serialize($token);
          
          // Encrypt the token if there is an Encrypter instance
          if ($this->encrypter instanceof Encrypter) {
              $token = $this->encrypter->encrypt($token);
          }
          
          // Return the token
          return $token;
      }
code: protected function encrypt($token)
      {
          // Serialize the token object
          $token = serialize($token);
          
          // Encrypt the token if there is an Encrypter instance
          if ($this->encrypter instanceof Encrypter) {
              $token = $this->encrypter->encrypt($token);
          }
          
          // Return the token
          return $token;
      }
code_tokens: protected function encrypt ( $ token ) { // Serialize the token object $ token = serialize ( $ token ) ; // Encrypt the token if there is an Encrypter instance if ( $ this -> encrypter instanceof Encrypter ) { $ token = $ this -> encrypter -> encrypt ( $ token ) ; } // Return the token return $ token ; }
docstring: Use the Encrypter to encrypt a token and return it
  If there is not encrypter object, return just the
  serialized token object for storage
  @param stdClass $token OAuth token to encrypt
  @return stdClass|string
docstring_tokens: Use the Encrypter to encrypt a token and return it If there is not encrypter object return just the serialized token object for storage