src/Collections/Collection.php
public function setDirectory($directory)
	{
		$this->directory = $directory;

		// Set the finder to use this directory as well
		$this->finder->in($directory);

		return $this;
	}
public function setDirectory($directory)
	{
		$this->directory = $directory;

		// Set the finder to use this directory as well
		$this->finder->in($directory);

		return $this;
	}
public function setDirectory ( $ directory ) { $ this -> directory = $ directory ; // Set the finder to use this directory as well $ this -> finder -> in ( $ directory ) ; return $ this ; }
Sets the directory value

@param String $directory
@return Collection
@author Dan Cox
Sets the directory value