コード例 #1
0
 /**
  * @return array|\stdClass
  */
 public function getPayload()
 {
     if (!$this->appResponse instanceof JsonResponse) {
         throw new \RuntimeException("Unexpected response");
     }
     return $this->appResponse->getPayload();
 }