1 | <?php |
||
16 | class ScaleEngineClient extends GuzzleService |
||
17 | { |
||
18 | /** |
||
19 | * Construct a service client for ScaleEngine's API. |
||
20 | * |
||
21 | * Loads the standard service description for ScaleEngine's API endpoints |
||
22 | * and initializes the commands with a visitor that can properly encode |
||
23 | * requests to ScaleEngine's API including request signing. |
||
24 | * |
||
25 | * @param array $config { |
||
26 | * @var string apiSecret (required) The API secret used to sign |
||
27 | * requests. |
||
28 | * @var array command.params { |
||
29 | * @var string apiKey The secret API key used to authenticate with |
||
30 | * your ScaleEngine account. |
||
31 | * @var int cdn The CDN id of your ScaleEngine account. |
||
32 | * } |
||
33 | * } |
||
34 | */ |
||
35 | public static function factory($config = []) |
||
51 | } |
||
52 |