public function DumpDataCollector::serialize in Zircon Profile 8.0
Same name and namespace in other branches
- 8 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;
}