AiGeneratorService
Table of Contents
Properties
-
$apiKey
: mixed
-
$client
: mixed
Methods
-
__construct()
: mixed
-
generateDescription()
: string
$apiKey
private
mixed
$apiKey
$client
private
mixed
$client
__construct()
public
__construct(HttpClientInterface $client, string $apiKey) : mixed
Parameters
-
$client
: HttpClientInterface
-
-
$apiKey
: string
-
generateDescription()
public
generateDescription(string $productName) : string
Parameters
-
$productName
: string
-
-
throws
-
TransportExceptionInterface
-
ServerExceptionInterface
-
RedirectionExceptionInterface
-
DecodingExceptionInterface
-
ClientExceptionInterface