You are here

public function FnStream::__wakeup in Lockr 7.3

An unserialize would allow the __destruct to run when the unserialized value goes out of scope.

Throws

\LogicException

File

vendor/guzzlehttp/psr7/src/FnStream.php, line 59

Class

FnStream
Compose stream implementations based on a hash of functions.

Namespace

GuzzleHttp\Psr7

Code

public function __wakeup() {
  throw new \LogicException('FnStream should never be unserialized');
}