Completed
Push — master ( 60f6d2...2121c5 )
by
unknown
12s queued 10s
created

EmailSettingsDataType::getMapperHandle()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
crap 1
1
<?php
2
3
namespace NerdsAndCompany\Schematic\DataTypes;
4
5
use Craft;
6
use NerdsAndCompany\Schematic\Schematic;
7
use NerdsAndCompany\Schematic\Interfaces\DataTypeInterface;
8
9
/**
10
 * Schematic EmailSettings DataType.
11
 *
12
 * Sync Craft Setups.
13
 *
14
 * @author    Nerds & Company
15
 * @copyright Copyright (c) 2015-2018, Nerds & Company
16
 * @license   MIT
17
 *
18
 * @see      http://www.nerds.company
19
 */
20
class EmailSettingsDataType implements DataTypeInterface
21
{
22
    /**
23
     * Get mapper component handle.
24
     *
25
     * @return string
26
     */
27 1
    public function getMapperHandle(): string
28
    {
29 1
        return 'emailSettingsMapper';
30
    }
31
32
    /**
33
     * Get data of this type.
34
     *
35
     * @return array
36
     */
37 1
    public function getRecords(): array
38
    {
39 1
        return [];
40
    }
41
}
42