Exemple #1
0
 public function getResponseParser()
 {
     if (!$this->responseParser) {
         $this->responseParser = OperationResponseParser::getInstance();
     }
     return $this->responseParser;
 }
Exemple #2
0
 /**
  * Get the response parser used for the operation
  *
  * @return ResponseParserInterface
  */
 public function getResponseParser()
 {
     if (!$this->responseParser) {
         // Use the default response parser if none was found
         $this->responseParser = OperationResponseParser::getInstance();
     }
     return $this->responseParser;
 }