Passed
Branch master (ed0613)
by Martin
02:38 queued 59s
created

ParametersMapper::map()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
dl 0
loc 7
rs 9.4285
c 1
b 0
f 1
cc 1
eloc 4
nc 1
nop 0
1
<?php
2
3
declare(strict_types = 1);
4
5
namespace KingsonDe\Marshal\Example\Mapper;
6
7
use KingsonDe\Marshal\AbstractXmlMapper;
8
9
class ParametersMapper extends AbstractXmlMapper {
10
11
    public function map() {
12
        return [
13
            'parameters' => [
14
                'parameter' => $this->cdata('some parameter'),
15
            ],
16
        ];
17
    }
18
}
19