14 namespace HCE\transport {
23 protected $responseData = array ();
37 if ($responseItem !== NULL) {
38 $this->responseData [] = $responseItem;
49 if (isset ( $this->{$responseData} [$index] )) {
50 unset ( $this->responseData [$index] );
61 $this->responseData = $responses;
72 if ($index === NULL) {
73 return count ( $this->$responseData );
75 return $this->responseData [$index];
83 return $this->responseData;
94 $this->error = $errorCode;
116 if ($index === NULL) {
117 return count ( $this->responseData );
119 if (isset ( $this->responseData [$index] [$fieldName] )) {
120 return $this->responseData [$index] [$fieldName];
134 $this->addResponseItem ( $responseItem );
141 $this->responseData = NULL;