src/Zend/Loader/PluginLoader.php
public static function setIncludeFileCache($file)
    {
        if (null === $file) {
            self::$_includeFileCache = null;
            return;
        }

        if (!file_exists($file) && !file_exists(dirname($file))) {

            throw new Zend_Loader_PluginLoader_Exception('Specified file does not exist and/or directory does not exist (' . $file . ')');
        }
        if (file_exists($file) && !is_writable($file)) {

            throw new Zend_Loader_PluginLoader_Exception('Specified file is not writeable (' . $file . ')');
        }
        if (!file_exists($file) && file_exists(dirname($file)) && !is_writable(dirname($file))) {

            throw new Zend_Loader_PluginLoader_Exception('Specified file is not writeable (' . $file . ')');
        }

        self::$_includeFileCache = $file;
    }
public static function setIncludeFileCache($file)
    {
        if (null === $file) {
            self::$_includeFileCache = null;
            return;
        }

        if (!file_exists($file) && !file_exists(dirname($file))) {

            throw new Zend_Loader_PluginLoader_Exception('Specified file does not exist and/or directory does not exist (' . $file . ')');
        }
        if (file_exists($file) && !is_writable($file)) {

            throw new Zend_Loader_PluginLoader_Exception('Specified file is not writeable (' . $file . ')');
        }
        if (!file_exists($file) && file_exists(dirname($file)) && !is_writable(dirname($file))) {

            throw new Zend_Loader_PluginLoader_Exception('Specified file is not writeable (' . $file . ')');
        }

        self::$_includeFileCache = $file;
    }
public static function setIncludeFileCache ( $ file ) { if ( null === $ file ) { self :: $ _includeFileCache = null ; return ; } if ( ! file_exists ( $ file ) && ! file_exists ( dirname ( $ file ) ) ) { throw new Zend_Loader_PluginLoader_Exception ( 'Specified file does not exist and/or directory does not exist (' . $ file . ')' ) ; } if ( file_exists ( $ file ) && ! is_writable ( $ file ) ) { throw new Zend_Loader_PluginLoader_Exception ( 'Specified file is not writeable (' . $ file . ')' ) ; } if ( ! file_exists ( $ file ) && file_exists ( dirname ( $ file ) ) && ! is_writable ( dirname ( $ file ) ) ) { throw new Zend_Loader_PluginLoader_Exception ( 'Specified file is not writeable (' . $ file . ')' ) ; } self :: $ _includeFileCache = $ file ; }
Set path to class file cache

Specify a path to a file that will add include_once statements for each
plugin class loaded. This is an opt-in feature for performance purposes.

@param  string $file
@return void
@throws Zend_Loader_PluginLoader_Exception if file is not writeable or path does not exist
Set path to class file cache