Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Uuid.php

function Uuid::__unserialize

Parameters

array{bytes?: string} $data:

File

vendor/ramsey/uuid/src/Uuid.php, line 332

Class

Uuid
Uuid provides constants and static methods for working with and generating UUIDs

Namespace

Ramsey\Uuid

Code

public function __unserialize(array $data) : void {
    // @codeCoverageIgnoreStart
    if (!isset($data['bytes'])) {
        throw new ValueError(sprintf('%s(): Argument #1 ($data) is invalid', __METHOD__));
    }
    // @codeCoverageIgnoreEnd
    $this->unserialize($data['bytes']);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal