Test Failed
Pull Request — develop (#694)
by Barbara
26:06
created

ContainerAndKey::fieldDefinitions()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 3
dl 0
loc 5
rs 10
c 1
b 0
f 1
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Commercetools\Core\Model\Common;
4
5
/**
6
 * @package Commercetools\Core\Model\Common
7
 *
8
 * @method string getContainer()
9
 * @method ContainerAndKey setContainer(string $container = null)
10
 * @method string getKey()
11
 * @method ContainerAndKey setKey(string $key = null)
12
 */
13
class ContainerAndKey extends JsonObject
14
{
15
    public function fieldDefinitions()
16
    {
17
        return [
18
            'container' => [self::TYPE => 'string'],
19
            'key' => [self::TYPE => 'string'],
20
        ];
21
    }
22
}
23