WordPress\AiClient\Providers\Http\DTO
ApiKeyRequestAuthentication::__construct
Constructor.
Method of the class: ApiKeyRequestAuthentication{}
No Hooks.
Returns
null. Nothing (null).
Usage
$ApiKeyRequestAuthentication = new ApiKeyRequestAuthentication(); $ApiKeyRequestAuthentication->__construct( $apiKey );
- $apiKey(string) (required)
- The API key used for authentication.
Changelog
| Since 0.1.0 | Introduced. |
ApiKeyRequestAuthentication::__construct() ApiKeyRequestAuthentication:: construct code WP 7.0
public function __construct(string $apiKey)
{
$this->apiKey = $apiKey;
}