Exemplo n.º 1
0
 public function init(OutputInterface $_output, Configuration $_configuration)
 {
     $this->output = $_output;
     $this->config = $_configuration;
     if ($_configuration->hasSection('reporter')) {
         $this->reporters = Init::initializeAll($_configuration->getSection('reporter'));
     }
 }
Exemplo n.º 2
0
 public function init(array $filters, $pageContainer, $startPage = null, $parallelRequests = 5)
 {
     $this->filters = Init::initializeAll($filters);
     if (!is_null($startPage)) {
         $this->startPage = new Uri($startPage);
     }
     $this->initPageContainer($pageContainer);
     $this->parallelRequests = $parallelRequests;
 }
Exemplo n.º 3
0
 /**
  * This function initializes all the rules and sets the log level.
  *
  * @param array $rulesArray
  */
 private function initRules(array $rulesArray)
 {
     $this->rules = Init::initializeAll($rulesArray);
 }