PHP Classes

File: src/VarDump/Output/XrVarDumpHtmlOutput.php

Recommend this page to a friend!
  Packages of Rodolfo Berrios Arce   XR PHP Debugger Online   src/VarDump/Output/XrVarDumpHtmlOutput.php   Download  
File: src/VarDump/Output/XrVarDumpHtmlOutput.php
Role: Class source
Content type: text/plain
Description: Class source
Class: XR PHP Debugger Online
Debug PHP code using a Web interface
Author: By
Last change:
Date: 4 years ago
Size: 787 bytes
 

 

Contents

Class file image Download
<?php

/*
 * This file is part of Chevere.
 *
 * (c) Rodolfo Berrios <rodolfo@chevere.org>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

declare(strict_types=1);

namespace Chevere\Xr\VarDump\Output;

use Chevere\VarDump\Interfaces\VarDumpFormatInterface;
use Chevere\VarDump\Outputs\VarDumpAbstractOutput;

final class XrVarDumpHtmlOutput extends VarDumpAbstractOutput
{
    public function tearDown(): void
    {
        $this->writer()->write('</pre>');
    }

    public function prepare(): void
    {
        $this->caller = '';
        $this->writer()->write('<pre>');
    }

    public function writeCallerFile(VarDumpFormatInterface $formatter): void
    {
        // null override
    }
}