재 업데이트

This commit is contained in:
Hide_D committed 2020-01-28 01:17:00 +09:00
1 parent a8b3befca9
commit ddb971e41e
413 files changed
+13446 -16025

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.