src/Debug/Route/Text.php
<?php
/**
* This file is part of PHPDebugConsole
*
* @package PHPDebugConsole
* @author Brad Kent <bkfake-github@yahoo.com>
* @license http://opensource.org/licenses/MIT MIT
* @copyright 2014-2024 Brad Kent
* @since 2.0
*/
namespace bdk\Debug\Route;
use bdk\Debug;
/**
* Output log as plain-text
*/
class Text extends AbstractRoute
{
/**
* Constructor
*
* @param Debug $debug debug instance
*/
public function __construct(Debug $debug)
{
parent::__construct($debug);
if (!$this->dumper) {
$this->dumper = $debug->getDump('text');
}
}
}