CacheTool\Proxy\ApcProxy::apc_compile_file PHP Method

apc_compile_file() public method

Stores a file in the bytecode cache, bypassing all filters.
Since: 3.0.13
public apc_compile_file ( string $filename, boolean $atomic = true ) : boolean
$filename string Full or relative path to a PHP file that will be compiled and stored in the bytecode cache.
$atomic boolean defaults to true
return boolean Returns TRUE on success or FALSE on failure
    public function apc_compile_file($filename, $atomic = true)
    {
        $code = new Code();
        $code->addStatement(sprintf('return apc_compile_file(%s, %s);', var_export($filename, true), var_export($atomic, true)));
        return $this->adapter->run($code);
    }