You are here

public function EdgeKeyTypeBase::unserialize in Apigee Edge 8

Unserialize a string of key values into an array.

Parameters

string $value: A serialized string of key values.

Return value

array An array of key values.

Overrides KeyTypeMultivalueInterface::unserialize

1 call to EdgeKeyTypeBase::unserialize()
ApigeeAuthKeyType::validateKeyValue in src/Plugin/KeyType/ApigeeAuthKeyType.php
Allows the Key Type plugin to validate the key value.

File

src/Plugin/EdgeKeyTypeBase.php, line 45

Class

EdgeKeyTypeBase
Defines a base class for Apigee Edge Key Type plugins.

Namespace

Drupal\apigee_edge\Plugin

Code

public function unserialize($value) {
  return Json::decode($value);
}