Files
itflow/libs/vendor/guzzlehttp/psr7/src/NonSerializableStreamTrait.php
2026-08-02 01:26:40 -04:00

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');
}
}