/** * Private constructor */ private function __construct() { $this->restINI = eZINI::instance('rest.ini'); $this->eZDebug = eZDebug::instance(); $this->debug = ezcDebug::getInstance(); $this->debug->setOutputFormatter(new ezpRestDebugPHPFormatter()); }