Esempio n. 1
0
 /**
  * Get handler collection from fixture
  *
  * @param string $file
  * @param string $environment
  * @return HandlerCollection
  */
 private function getHandlerCollectionFromFixture($file, $environment = 'latest', array $includeGroups = array(), array $excludeGroups = array())
 {
     $path = FIXTURE_ROOT . $file;
     $handlerCollection = new HandlerCollection();
     $handlerCollection->buildFromSettingsCSVFile($path, $environment, 'DEFAULT', $includeGroups, $excludeGroups);
     return $handlerCollection;
 }
Esempio n. 2
0
 public function removeItemAt($index)
 {
     parent::removeItemAt($index);
     array_splice($this->_counts, $index, 1);
 }