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

ParametersMapper   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 10
rs 10
c 1
b 0
f 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A map() 0 7 1
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