ClassMap   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 13
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A get() 0 6 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace ColissimoTracking;
6
7
/**
8
 * Class which returns the class map definition
9
 */
10
class ClassMap
11
{
12
    /**
13
     * Returns the mapping between the WSDL Structs and generated Structs' classes
14
     * This array is sent to the \SoapClient when calling the WS
15
     * @return string[]
16
     */
17
    final public static function get(): array
18
    {
19
        return [
20
            'track' => '\\ColissimoTracking\\StructType\\Track',
21
            'trackResponse' => '\\ColissimoTracking\\StructType\\TrackResponse',
22
            'skybillInformationResult' => '\\ColissimoTracking\\StructType\\SkybillInformationResult',
23
        ];
24
    }
25
}
26