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

Breadcrumb

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

function SerializableFieldsTrait::serialize

Returns a string representation of object

File

vendor/ramsey/uuid/src/Fields/SerializableFieldsTrait.php, line 43

Class

SerializableFieldsTrait
Provides common serialization functionality to fields

Namespace

Ramsey\Uuid\Fields

Code

public function serialize() : string {
    return $this->getBytes();
}

API Navigation

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