We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6482a47 commit 8d76d00Copy full SHA for 8d76d00
app/AppKernel.php
@@ -12,6 +12,20 @@ class AppKernel extends Kernel
12
{
13
protected $rootDir;
14
15
+ /*
16
+ Update for PHP 8 support DamienR : AppKernel implements the Serializable interface, which is deprecated.
17
+ Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary)
18
+ */
19
+ public function __serialize(): array
20
+ {
21
+ return [];
22
+ }
23
+
24
+ public function __unserialize(array $data): void
25
26
+ // Implement the logic to unserialize the object
27
28
29
public function registerBundles()
30
31
$bundles = array(
0 commit comments