Symfony\Component\HttpKernel\DataCollector\DumpDataCollector::__construct PHP 메소드

__construct() 공개 메소드

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);
    }