mirror of
https://github.com/itflow-org/itflow
synced 2026-09-13 10:15:15 +00:00
22 lines
400 B
PHP
22 lines
400 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace GuzzleHttp\Psr7;
|
|
|
|
/**
|
|
* @internal
|
|
*/
|
|
trait NonSerializableStreamTrait
|
|
{
|
|
public function __serialize(): array
|
|
{
|
|
throw new \LogicException(static::class.' should never be serialized');
|
|
}
|
|
|
|
public function __unserialize(array $data): void
|
|
{
|
|
throw new \LogicException(static::class.' should never be unserialized');
|
|
}
|
|
}
|