protected function findCacheFilesByIdentifier(string $entryIdentifier)
    {
        $pattern = $this->cacheDirectory . $entryIdentifier;
        $filesFound = glob($pattern);
        if ($filesFound === false || count($filesFound) === 0) {
            return false;
        }
        return $filesFound;
    }
protected function findCacheFilesByIdentifier(string $entryIdentifier)
    {
        $pattern = $this->cacheDirectory . $entryIdentifier;
        $filesFound = glob($pattern);
        if ($filesFound === false || count($filesFound) === 0) {
            return false;
        }
        return $filesFound;
    }
protected function findCacheFilesByIdentifier ( string $ entryIdentifier ) { $ pattern = $ this -> cacheDirectory . $ entryIdentifier ; $ filesFound = glob ( $ pattern ) ; if ( $ filesFound === false || count ( $ filesFound ) === 0 ) { return false ; } return $ filesFound ; }
Tries to find the cache entry for the specified identifier.
Usually only one cache entry should be found - if more than one exist, this
is due to some error or crash.

@param string $entryIdentifier The cache entry identifier
@return mixed The filenames (including path) as an array if one or more entries could be found, otherwise false
Tries to find the cache entry for the specified identifier . Usually only one cache entry should be found - if more than one exist this is due to some error or crash .