Completed
Push — master ( 122bdb...4f8f85 )
by Jens
10:49 queued 41s
created

MessagesConfiguration::fieldDefinitions()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 1
Metric Value
dl 0
loc 6
ccs 0
cts 6
cp 0
rs 9.4285
c 1
b 0
f 1
cc 1
eloc 3
nc 1
nop 0
crap 2
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
    public function fieldDefinitions()
19
    {
20
        return [
21
            'enabled' => [static::TYPE => 'bool'],
22
        ];
23
    }
24
}
25