protected function createIterator(Traversable $sourceIterator) {
		$iterator = new Iterator($sourceIterator, $this->getModelClass());
		$iterator->setDatagate($this);

		if ($this->hasLocator()) {
			$iterator->setLocator($this->getLocator());
		}

		return $iterator;
	}
protected function createIterator(Traversable $sourceIterator) {
		$iterator = new Iterator($sourceIterator, $this->getModelClass());
		$iterator->setDatagate($this);

		if ($this->hasLocator()) {
			$iterator->setLocator($this->getLocator());
		}

		return $iterator;
	}
protected function createIterator ( Traversable $ sourceIterator ) { $ iterator = new Iterator ( $ sourceIterator , $ this -> getModelClass ( ) ) ; $ iterator -> setDatagate ( $ this ) ; if ( $ this -> hasLocator ( ) ) { $ iterator -> setLocator ( $ this -> getLocator ( ) ) ; } return $ iterator ; }
Create the iterator

@param  Traversable $sourceIterator
@return ModelIterator
Create the iterator