Zepi/Web/General/src/Manager/AssetCacheManager.php
public function isCached($type, $hash, $version)
    {
        // If the base file isn't cached we do not need to check the file names
        if (!isset($this->cachedFiles[$hash])) {
            return false;
        }
        
        $searchedFile = $this->buildFilePath($type, $hash, $version);
        foreach ($this->cachedFiles as $baseFileHash => $cachedFile) {
            if ($cachedFile['file'] === $searchedFile) {
                return true;
            }
        }
        
        return false;
    }
public function isCached($type, $hash, $version)
    {
        // If the base file isn't cached we do not need to check the file names
        if (!isset($this->cachedFiles[$hash])) {
            return false;
        }
        
        $searchedFile = $this->buildFilePath($type, $hash, $version);
        foreach ($this->cachedFiles as $baseFileHash => $cachedFile) {
            if ($cachedFile['file'] === $searchedFile) {
                return true;
            }
        }
        
        return false;
    }
public function isCached ( $ type , $ hash , $ version ) { // If the base file isn't cached we do not need to check the file names if ( ! isset ( $ this -> cachedFiles [ $ hash ] ) ) { return false ; } $ searchedFile = $ this -> buildFilePath ( $ type , $ hash , $ version ) ; foreach ( $ this -> cachedFiles as $ baseFileHash => $ cachedFile ) { if ( $ cachedFile [ 'file' ] === $ searchedFile ) { return true ; } } return false ; }
Returns true if the given file is cached, otherwise return false.

@access public
@param string $type
@param string $hash
@param string $version
@return boolean
Returns true if the given file is cached otherwise return false .