src/Finder.php
public function cache($scope, $name, $reversed, $result, $pathsUsed = [])
	{
		$cacheKey = $this->makeCacheKey($scope, $name, $reversed);
		$this->cache[$cacheKey] = [
			'result' => $result,
			'used'   => $pathsUsed,
		];
	}
public function cache($scope, $name, $reversed, $result, $pathsUsed = [])
	{
		$cacheKey = $this->makeCacheKey($scope, $name, $reversed);
		$this->cache[$cacheKey] = [
			'result' => $result,
			'used'   => $pathsUsed,
		];
	}
public function cache ( $ scope , $ name , $ reversed , $ result , $ pathsUsed = [ ] ) { $ cacheKey = $ this -> makeCacheKey ( $ scope , $ name , $ reversed ) ; $ this -> cache [ $ cacheKey ] = [ 'result' => $ result , 'used' => $ pathsUsed , ] ; }
Caches a find result

@param string  $scope
@param string  $name
@param boolean $reversed
@param array   $pathsUsed
Caches a find result