Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
20 | private function getTenant(string $clientKey): Tenant |
||
21 | { |
||
22 | $tenant = new Tenant(); |
||
23 | $tenant->setAddonKey('addon_key'); |
||
24 | $tenant->setClientKey($clientKey); |
||
25 | $tenant->setPublicKey('public_key'); |
||
26 | $tenant->setSharedSecret('shared_secret'); |
||
27 | $tenant->setServerVersion('1'); |
||
28 | $tenant->setPluginsVersion('plugin_version'); |
||
29 | $tenant->setBaseUrl('http://base_url.org'); |
||
30 | $tenant->setProductType('product_type'); |
||
31 | $tenant->setDescription('description'); |
||
32 | $tenant->setEventType('type'); |
||
33 | |||
34 | return $tenant; |
||
35 | } |
||
37 |