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 5993c79 commit 1959c82Copy full SHA for 1959c82
Tests/Kernel/ConcreteMicroKernel.php
@@ -64,6 +64,16 @@ public function getLogDir()
64
return $this->cacheDir;
65
}
66
67
+ public function __sleep()
68
+ {
69
+ throw new \BadMethodCallException('Cannot serialize '.__CLASS__);
70
+ }
71
+
72
+ public function __wakeup()
73
74
+ throw new \BadMethodCallException('Cannot unserialize '.__CLASS__);
75
76
77
public function __destruct()
78
{
79
$fs = new Filesystem();
0 commit comments