public function initialise(\TestDbAcle\ServiceLocator $serviceLocator) { $this->parser = $serviceLocator->get('parser'); //$this->filterQueue = $serviceLocator->get('filterQueue'); $this->tableList = $serviceLocator->get('tableList'); $this->pdoFacade = $serviceLocator->get('pdoFacade'); $this->tableFactory = $serviceLocator->get('tableFactory'); $this->filterQueue = new \TestDbAcle\Filter\FilterQueue(); $this->filterQueue->addRowFilter(new \TestDbAcle\Filter\PlaceholderRowFilter($this->placeHolders)); }
public function initialise(\TestDbAcle\ServiceLocator $serviceLocator) { $this->parser = $serviceLocator->get('parser'); $this->filterQueue = $serviceLocator->createNew('dataInserterFilterQueue'); $this->dataInserter = $serviceLocator->get('dataInserter'); $this->tableList = $serviceLocator->get('tableList'); $this->tableFactory = $serviceLocator->get('tableFactory'); if ($this->placeHolders) { $this->filterQueue->addRowFilter(new \TestDbAcle\Filter\PlaceholderRowFilter($this->placeHolders)); } }
public function initialise(\TestDbAcle\ServiceLocator $serviceLocator) { $this->pdoFacade = $serviceLocator->get('pdoFacade'); }
public function initialise(\TestDbAcle\ServiceLocator $serviceLocator) { $this->parser = $serviceLocator->get('parser'); $this->filterQueue = new \TestDbAcle\Filter\FilterQueue(); $this->filterQueue->addRowFilter(new \TestDbAcle\Filter\PlaceholderRowFilter($this->placeHolders)); }