\TxTextControl\ReportingCloud\AssertAssertApiKeyTrait

Trait AssertApiKeyTrait

Summary

Methods
Properties
Constants
assertApiKey()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$apiKeyMinLength
$apiKeyMaxLength
N/A

Properties

$apiKeyMinLength

$apiKeyMinLength : int

Minimum length of API key

Type

int

$apiKeyMaxLength

$apiKeyMaxLength : int

Maximum length of API key

Type

int

Methods

assertApiKey()

assertApiKey(string  $value, string  $message = '') : void

Check value is a syntactically valid API key

Parameters

string $value
string $message

Throws

\TxTextControl\ReportingCloud\Exception\InvalidArgumentException