Exemplo n.º 1
0
 /**
  * @param $method String The name of the soap method to call
  * @param $data Mixed data, usually an object
  *
  * @throws SoapFault
  *
  * @return mixed
  */
 public function request($method, $data)
 {
     /*if($this->cventSessionHeaderExpires < time()){
         $this->login();
       }else{
         $this->setSoapSessionHeader();
       }*/
     $this->login();
     //return $this->cventSoapClient->client()->$method($data);
     return $this->cventSoapClient->call($method, $data);
 }