FOF30\View\Engine\CompilingEngine::putToCache PHP Метод

putToCache() защищенный Метод

protected putToCache ( $path, $content )
    protected function putToCache($path, $content)
    {
        $cachePath = $this->getCachePath($path);
        if (@file_put_contents($cachePath, $content)) {
            return $cachePath;
        }
        if (!class_exists('JFile')) {
            \JLoader::import('joomla.filesystem.file');
        }
        if (\JFile::write($cachePath, $content)) {
            return $cachePath;
        }
        return false;
    }