Completed
Push — master ( 44676f...b7bc18 )
by Jens
13:18
created

MessagesConfiguration   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 9
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A fieldDefinitions() 0 6 1
1
<?php
2
/**
3
 * @author @jayS-de <[email protected]>
4
 */
5
6
namespace Commercetools\Core\Model\Message;
7
8
use Commercetools\Core\Model\Common\JsonObject;
9
10
/**
11
 * @package Commercetools\Core\Model\Message
12
 *
13
 * @method bool getEnabled()
14
 * @method MessagesConfiguration setEnabled(bool $enabled = null)
15
 */
16
class MessagesConfiguration extends JsonObject
17
{
18 2
    public function fieldDefinitions()
19
    {
20
        return [
21 2
            'enabled' => [static::TYPE => 'bool'],
22
        ];
23
    }
24
}
25