Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
4 / 4
100.00% covered (success)
100.00%
1 / 1
CRAP
100.00% covered (success)
100.00%
1 / 1
Apiclient
100.00% covered (success)
100.00%
4 / 4
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
1 / 1
 getDefaults
100.00% covered (success)
100.00%
4 / 4
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2
3namespace BO\Zmsentities;
4
5class Apiclient extends Schema\Entity
6{
7    public const string PRIMARY = 'clientKey';
8
9    public static $schema = "apiclient.json";
10
11    /**
12     * @return string[]
13     *
14     */
15    #[\Override]
16    public function getDefaults()
17    {
18        return [
19            'clientKey' => '',
20            'shortname' => 'default',
21        ];
22    }
23}