Symfony\Component\HttpKernel\DataCollector\DumpDataCollector::__construct PHP Method

__construct() public method

public __construct ( Symfony\Component\Stopwatch\Stopwatch $stopwatch = null, $fileLinkFormat = null, $charset = null )
$stopwatch Symfony\Component\Stopwatch\Stopwatch
    public function __construct(Stopwatch $stopwatch = null, $fileLinkFormat = null, $charset = null)
    {
        $this->stopwatch = $stopwatch;
        $this->fileLinkFormat = $fileLinkFormat ?: ini_get('xdebug.file_link_format') ?: get_cfg_var('xdebug.file_link_format');
        $this->charset = $charset ?: ini_get('php.output_encoding') ?: ini_get('default_charset') ?: 'UTF-8';
        // All clones share these properties by reference:
        $this->rootRefs = array(&$this->data, &$this->dataCount, &$this->isCollected, &$this->clonesCount);
    }