/** * 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; }
public function removeItemAt($index) { parent::removeItemAt($index); array_splice($this->_counts, $index, 1); }