class KeyValidator (View source)

Methods

static bool
validateKey(string $key)

This method ensure that the key is valid under PSR-6.

Details

static bool validateKey(string $key)

This method ensure that the key is valid under PSR-6.

Parameters

string $key The key to validate.

Return Value

bool TRUE if the specified key is legal.