Exemple #1
0
 public function __construct($url, $arguments, $accept)
 {
     $this->response = new ResponseObject();
     $this->response->setStatus = 500;
     // set error code to be overwritten in implementations
     $this->apiConfig = SmintapiConfig::getConfig();
     $this->url = $url;
     $this->arguments = $arguments;
     $this->accept = $accept;
     $this->dbconnection = SmintapiConfig::getDBConnection();
 }