$useOpenHandlerWhenSendingDataHeaders
$useOpenHandlerWhenSendingDataHeaders :
Debug bar subclass which adds all included collectors
Manages data collectors. DebugBar provides an array-like access to collectors by name.
$debugbar = new DebugBar();
$debugbar->addCollector(new DataCollector\MessagesCollector());
$debugbar['messages']->addMessage("foobar");
addCollector(\DebugBar\DataCollector\DataCollectorInterface $collector) : $this
Adds a data collector
\DebugBar\DataCollector\DataCollectorInterface | $collector |
getCollector(string $name) : \DebugBar\DataCollector\DataCollectorInterface
Returns a data collector
string | $name |
setRequestIdGenerator(\DebugBar\RequestIdGeneratorInterface $generator) : $this
Sets the request id generator
\DebugBar\RequestIdGeneratorInterface | $generator |
getRequestIdGenerator() : \DebugBar\RequestIdGeneratorInterface
setStorage(\DebugBar\Storage\StorageInterface $storage = null) : $this
Sets the storage backend to use to store the collected data
\DebugBar\Storage\StorageInterface | $storage |
getStorage() : \DebugBar\Storage\StorageInterface
setHttpDriver(\DebugBar\HttpDriverInterface $driver) : $this
Sets the HTTP driver
\DebugBar\HttpDriverInterface | $driver |
getHttpDriver() : \DebugBar\HttpDriverInterface
Returns the HTTP driver
If no http driver where defined, a PhpHttpDriver is automatically created
getJavascriptRenderer(string $baseUrl = null, string $basePath = null) : \DebugBar\JavascriptRenderer
Returns a JavascriptRenderer for this instance
string | $baseUrl | |
string | $basePath |
initStackSession() : \DebugBar\HttpDriverInterface
Initializes the session for stacked data