[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/maximebf/debugbar/src/DebugBar/ -> StandardDebugBar.php (source)

   1  <?php
   2  /*
   3   * This file is part of the DebugBar package.
   4   *
   5   * (c) 2013 Maxime Bouroumeau-Fuseau
   6   *
   7   * For the full copyright and license information, please view the LICENSE
   8   * file that was distributed with this source code.
   9   */
  10  
  11  namespace DebugBar;
  12  
  13  use DebugBar\DataCollector\ExceptionsCollector;
  14  use DebugBar\DataCollector\MemoryCollector;
  15  use DebugBar\DataCollector\MessagesCollector;
  16  use DebugBar\DataCollector\PhpInfoCollector;
  17  use DebugBar\DataCollector\RequestDataCollector;
  18  use DebugBar\DataCollector\TimeDataCollector;
  19  
  20  /**
  21   * Debug bar subclass which adds all included collectors
  22   */
  23  class StandardDebugBar extends DebugBar
  24  {
  25      public function __construct()
  26      {
  27          $this->addCollector(new PhpInfoCollector());
  28          $this->addCollector(new MessagesCollector());
  29          $this->addCollector(new RequestDataCollector());
  30          $this->addCollector(new TimeDataCollector());
  31          $this->addCollector(new MemoryCollector());
  32          $this->addCollector(new ExceptionsCollector());
  33      }
  34  }


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer