function DumpDataCollector::__sleep
@internal
Overrides DataCollector::__sleep
File
-
vendor/
symfony/ http-kernel/ DataCollector/ DumpDataCollector.php, line 149
Class
- DumpDataCollector
- @author Nicolas Grekas <p@tchwork.com>
Namespace
Symfony\Component\HttpKernel\DataCollectorCode
public function __sleep() : array {
if (!$this->dataCount) {
$this->data = [];
}
if ($this->clonesCount !== $this->clonesIndex) {
return [];
}
$this->data[] = $this->fileLinkFormat;
$this->data[] = $this->charset;
$this->dataCount = 0;
$this->isCollected = true;
return parent::__sleep();
}