src/CRUDlex/YamlReader.php
protected function readFromCache($fileName)
    {
        $cacheFile = $this->getCacheFile($fileName);
        if (file_exists($cacheFile) && is_readable($cacheFile)) {
            include($cacheFile);
            if (isset($crudlexCacheContent)) {
                return $crudlexCacheContent;
            }
        }
        return null;
    }
protected function readFromCache($fileName)
    {
        $cacheFile = $this->getCacheFile($fileName);
        if (file_exists($cacheFile) && is_readable($cacheFile)) {
            include($cacheFile);
            if (isset($crudlexCacheContent)) {
                return $crudlexCacheContent;
            }
        }
        return null;
    }
protected function readFromCache ( $ fileName ) { $ cacheFile = $ this -> getCacheFile ( $ fileName ) ; if ( file_exists ( $ cacheFile ) && is_readable ( $ cacheFile ) ) { include ( $ cacheFile ) ; if ( isset ( $ crudlexCacheContent ) ) { return $ crudlexCacheContent ; } } return null ; }
Reads the content of the cached file if it exists.

@param string $fileName
the cache file to read from
@return null|array
the cached data structure or null if the cache file was not available
Reads the content of the cached file if it exists .