batcache::add_debug_just_cached PHP Method

add_debug_just_cached() public method

    function add_debug_just_cached()
    {
        $generation = $this->cache['timer'];
        $bytes = strlen(serialize($this->cache));
        $html = <<<HTML
<!--
\tgenerated in {$generation} seconds
\t{$bytes} bytes batcached for {$this->max_age} seconds
-->

HTML;
        $this->add_debug_html_to_output($html);
    }