| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types = 1); |
||
| 17 | public function load(ObjectManager $manager) |
||
| 18 | { |
||
| 19 | $tenant = new Tenant(); |
||
| 20 | $tenant->setAddonKey('addon_key'); |
||
| 21 | $tenant->setClientKey('client_key'); |
||
| 22 | $tenant->setPublicKey('public_key'); |
||
| 23 | $tenant->setSharedSecret('shared_secret'); |
||
| 24 | $tenant->setServerVersion('1'); |
||
| 25 | $tenant->setPluginsVersion('plugin_version'); |
||
| 26 | $tenant->setBaseUrl('http://base_url.org'); |
||
| 27 | $tenant->setProductType('product_type'); |
||
| 28 | $tenant->setDescription('description'); |
||
| 29 | $tenant->setEventType('type'); |
||
| 30 | |||
| 31 | $manager->persist($tenant); |
||
| 32 | $manager->flush(); |
||
| 33 | } |
||
| 35 |