ManaPHP\Debugger::save PHP Метод

save() публичный Метод

public save ( string $template = 'Default' ) : string
$template string
Результат string
    public function save($template = 'Default')
    {
        if (Text::contains($_SERVER['HTTP_USER_AGENT'], 'ApacheBench')) {
            return '';
        }
        $file = date('/ymd/His_') . $this->random->getBase(32) . '.html';
        $this->filesystem->filePut('@data/debugger' . $file, $this->output($template));
        return $this->url->get('/?_debugger=' . $file);
    }