public function DumpDataCollector::serialize in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/DataCollector/DumpDataCollector.php \Symfony\Component\HttpKernel\DataCollector\DumpDataCollector::serialize()
Overrides DataCollector::serialize
File
- vendor/
symfony/ http-kernel/ DataCollector/ DumpDataCollector.php, line 167
Class
- DumpDataCollector
- @author Nicolas Grekas <p@tchwork.com>
Namespace
Symfony\Component\HttpKernel\DataCollectorCode
public function serialize() {
if ($this->clonesCount !== $this->clonesIndex) {
return 'a:0:{}';
}
$ser = serialize($this->data);
$this->data = array();
$this->dataCount = 0;
$this->isCollected = true;
if (!$this->dumperIsInjected) {
$this->dumper = null;
}
return $ser;
}