public function KeyProviderInterface::getKey in Akamai 8.3
Retrieves a key from the key module.
Parameters
string $key: The id of the key to retrieve.
Return value
string|null The key value on success, NULL on failure.
Throws
\Exception Indicates the key.repository service was not found.
1 method overrides KeyProviderInterface::getKey()
- KeyProvider::getKey in src/
KeyProvider.php - Retrieves a key from the key module.
File
- src/
KeyProviderInterface.php, line 27
Class
- KeyProviderInterface
- Interface for Key Providers.
Namespace
Drupal\akamaiCode
public function getKey($key);