You are here

public static function Lockr::key in Lockr 7

Same name and namespace in other branches
  1. 7.2 vendor/lockr/lockr-client/src/Lockr.php \Lockr\Lockr::key()

Returns the client for key operations.

Return value

KeyClient The key client.

File

src/Lockr/Lockr.php, line 51

Class

Lockr
Primary interface for Lockr API calls.

Namespace

Lockr

Code

public static function key() {
  return new KeyClient(self::create());
}