N°8910 - Upgrade Symfony packages

This commit is contained in:
Benjamin DALSASS
2026-02-19 10:00:56 +01:00
parent 0f11fd9919
commit 5d3ad83946
224 changed files with 4758 additions and 1778 deletions

View File

@@ -60,17 +60,19 @@ class ReflectionClassResource implements SelfCheckingResourceInterface
return 'reflection.'.$this->className;
}
/**
* @internal
*/
public function __sleep(): array
public function __serialize(): array
{
if (!isset($this->hash)) {
$this->hash = $this->computeHash();
$this->loadFiles($this->classReflector);
}
return ['files', 'className', 'hash'];
return [
'files' => $this->files,
'className' => $this->className,
'excludedVendors' => $this->excludedVendors,
'hash' => $this->hash,
];
}
private function loadFiles(\ReflectionClass $class): void