src/ErrorPage.php
protected function hasStaticPage()
    {
        if (!self::config()->enable_static_file) {
            return false;
        }

        // Attempt to retrieve content from generated file handler
        $filename = $this->getErrorFilename();
        $storeFilename = File::join_paths(self::config()->store_filepath, $filename);
        $result = self::get_asset_handler()->getContent($storeFilename);
        return !empty($result);
    }
protected function hasStaticPage()
    {
        if (!self::config()->enable_static_file) {
            return false;
        }

        // Attempt to retrieve content from generated file handler
        $filename = $this->getErrorFilename();
        $storeFilename = File::join_paths(self::config()->store_filepath, $filename);
        $result = self::get_asset_handler()->getContent($storeFilename);
        return !empty($result);
    }
protected function hasStaticPage ( ) { if ( ! self :: config ( ) -> enable_static_file ) { return false ; } // Attempt to retrieve content from generated file handler $ filename = $ this -> getErrorFilename ( ) ; $ storeFilename = File :: join_paths ( self :: config ( ) -> store_filepath , $ filename ) ; $ result = self :: get_asset_handler ( ) -> getContent ( $ storeFilename ) ; return ! empty ( $ result ) ; }
Determine if static content is cached for this page

@return bool
Determine if static content is cached for this page