WordPress\AiClient\Providers\Http\DTO

ApiKeyRequestAuthentication::__construct │ public │ WP 0.1.0

Constructor.

Метод класса: ApiKeyRequestAuthentication{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$ApiKeyRequestAuthentication = new ApiKeyRequestAuthentication();
$ApiKeyRequestAuthentication->__construct( $apiKey );
$apiKey(строка) (обязательный)
The API key used for authentication.

Список изменений

С версии 0.1.0 Введена.

Код ApiKeyRequestAuthentication::__construct() WP 7.1.2

public function __construct(string $apiKey)
{
    $this->apiKey = $apiKey;
}