public function __construct() { $this->request = new PMSERequest(); $this->request->setType('cron'); $this->request->setElements(array()); $this->preProcessor = PMSEPreProcessor::getInstance(); }
/** * Class Constructor */ public function __construct() { $this->request = new PMSERequest(); $this->logger = PMSELogger::getInstance(); $this->request->setType('direct'); $this->preProcessor = PMSEPreProcessor::getInstance(); }
/** * * @return type * @codeCoverageIgnore */ public static function getInstance() { if (is_null(self::$instance)) { self::$instance = new PMSEPreProcessor(); } return self::$instance; }
/** * */ public function __construct() { global $db; $this->request = new PMSERequest(); $this->request->setType('hook'); $this->preProcessor = PMSEPreProcessor::getInstance(); $this->logger = PMSELogger::getInstance(); $this->dbHandler = $db; }
/** * Prepare Pre-Processor * Cannot be tested since the PMSEPreProcessor uses an static method call * @codeCoverageIgnore */ public function preparePreProcessor() { // preprocessor required initialization $this->request = new PMSERequest(); $this->request->setType('queue'); $this->preProcessor = PMSEPreProcessor::getInstance(); }