35 lines
1011 B
PHP
35 lines
1011 B
PHP
<?php
|
|
/*
|
|
* This file is part of the DebugBar package.
|
|
*
|
|
* (c) 2013 Maxime Bouroumeau-Fuseau
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace DebugBar;
|
|
|
|
use DebugBar\DataCollector\ExceptionsCollector;
|
|
use DebugBar\DataCollector\MemoryCollector;
|
|
use DebugBar\DataCollector\MessagesCollector;
|
|
use DebugBar\DataCollector\PhpInfoCollector;
|
|
use DebugBar\DataCollector\RequestDataCollector;
|
|
use DebugBar\DataCollector\TimeDataCollector;
|
|
|
|
/**
|
|
* Debug bar subclass which adds all included collectors
|
|
*/
|
|
class StandardDebugBar extends DebugBar
|
|
{
|
|
public function __construct()
|
|
{
|
|
$this->addCollector(new PhpInfoCollector());
|
|
$this->addCollector(new MessagesCollector());
|
|
$this->addCollector(new RequestDataCollector());
|
|
$this->addCollector(new TimeDataCollector());
|
|
$this->addCollector(new MemoryCollector());
|
|
$this->addCollector(new ExceptionsCollector());
|
|
}
|
|
}
|