package update 재도전

This commit is contained in:
Hide_D committed 2020-01-28 00:30:41 +09:00
1 parent 9cd40b213d
commit f6e53746b2
419 files changed
+13997 -16260

No files matched your search

+9
View File
@@ -52,6 +52,15 @@ class FnStream implements StreamInterface
}
}
/**
* An unserialize would allow the __destruct to run when the unserialized value goes out of scope.
* @throws \LogicException
*/
public function __wakeup()
{
throw new \LogicException('FnStream should never be unserialized');
}
/**
* Adds custom functionality to an underlying stream by intercepting
* specific method calls.