# woocommerce-pos/1.10.7/vendor_prefixed/guzzlehttp/psr7/src/NonSerializableStreamTrait.php

WCPOS – Point of Sale (POS) plugin for WooCommerce, version 1.10.7. 20 lines.

- Page: https://pluginprobe.com/plugins/woocommerce-pos/1.10.7/code/vendor_prefixed/guzzlehttp/psr7/src/NonSerializableStreamTrait.php
- Raw: https://pluginprobe.com/plugins/woocommerce-pos/1.10.7/raw/vendor_prefixed/guzzlehttp/psr7/src/NonSerializableStreamTrait.php
- Modified: 2026-09-01T14:48:10+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/woocommerce-pos/1.10.7/code/vendor_prefixed/guzzlehttp/psr7/src/NonSerializableStreamTrait.php#L10-L20`.

```php
<?php

declare (strict_types=1);
namespace WCPOS\Vendor\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');
    }
}

```
