You are here

public static function CacheDecoratedResourceInterface::serializeKeyValue in RESTful 7.2

Generates a serialized key value pair.

Parameters

string $key: The key

string $value: The value.

Return value

string The serialized value.

1 method overrides CacheDecoratedResourceInterface::serializeKeyValue()
CacheDecoratedResource::serializeKeyValue in src/Plugin/resource/Decorators/CacheDecoratedResource.php
Generates a serialized key value pair.

File

src/Plugin/resource/Decorators/CacheDecoratedResourceInterface.php, line 23
Contains \Drupal\restful\Plugin\resource\Decorators\CacheDecoratedResourceInterface.

Class

CacheDecoratedResourceInterface

Namespace

Drupal\restful\Plugin\resource\Decorators

Code

public static function serializeKeyValue($key, $value);