Beispiel #1
0
	/**
	* @return boolean whether the dependency has changed.
	*/
	public function getHasChanged() 
	{
		$tags = array_map(function($i) { return FileCache::PREFIX.$i; }, $this->tags);
		$values = Y::cache()->mget($tags);
	
		foreach ($values as $value) {
			if ((integer)$value > $this->timestamp) { return true; }
		}
	
		return false;
	}