SHARE
TWEET

Untitled

a guest Mar 26th, 2020 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     /**
  2.      * @param $request
  3.      * @return string
  4.      */
  5.     protected function serializeRequest($request)
  6.     {
  7.         $object = serialize($request);
  8.         $result = new \stdClass();
  9.         $result->accessToken = $this->getAppToken();
  10.         $result->data = $object;
  11.  
  12.         return json_encode($result);
  13.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top