src/Collections/Collection.php
public function fetch()
	{
		$this->filterByExtension();

		$results = Array();

		foreach ($this->finder as $file)
		{
			$config = new ConfigFile($this->fs, $this->fileInfo, $this->extracter);
			$config->load($file->getRealPath());
			$results[] = $config;
		}

		$this->finder = new Finder();

		return new CollectionResults($results);
	}
public function fetch()
	{
		$this->filterByExtension();

		$results = Array();

		foreach ($this->finder as $file)
		{
			$config = new ConfigFile($this->fs, $this->fileInfo, $this->extracter);
			$config->load($file->getRealPath());
			$results[] = $config;
		}

		$this->finder = new Finder();

		return new CollectionResults($results);
	}
public function fetch ( ) { $ this -> filterByExtension ( ) ; $ results = Array ( ) ; foreach ( $ this -> finder as $ file ) { $ config = new ConfigFile ( $ this -> fs , $ this -> fileInfo , $ this -> extracter ) ; $ config -> load ( $ file -> getRealPath ( ) ) ; $ results [ ] = $ config ; } $ this -> finder = new Finder ( ) ; return new CollectionResults ( $ results ) ; }
Fetches results of current instance of the finder

@return CollectionResults
@author Dan Cox
Fetches results of current instance of the finder