TrackResponse   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 37
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 7
dl 0
loc 37
rs 10
c 0
b 0
f 0
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getReturn() 0 3 1
A setReturn() 0 5 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace ColissimoTracking\StructType;
6
7
use InvalidArgumentException;
8
use WsdlToPhp\PackageBase\AbstractStructBase;
9
10
/**
11
 * This class stands for trackResponse StructType
12
 * Meta information extracted from the WSDL
13
 * - type: tns:trackResponse
14
 * @subpackage Structs
15
 * @author WsdlToPhp <[email protected]>
16
 */
17
class TrackResponse extends AbstractStructBase
18
{
19
    /**
20
     * The return
21
     * Meta information extracted from the WSDL
22
     * - minOccurs: 0
23
     * @var \ColissimoTracking\StructType\SkybillInformationResult|null
24
     */
25
    protected ?\ColissimoTracking\StructType\SkybillInformationResult $return = null;
26
    /**
27
     * Constructor method for trackResponse
28
     * @uses TrackResponse::setReturn()
29
     * @param \ColissimoTracking\StructType\SkybillInformationResult $return
30
     */
31
    public function __construct(?\ColissimoTracking\StructType\SkybillInformationResult $return = null)
32
    {
33
        $this
34
            ->setReturn($return);
35
    }
36
    /**
37
     * Get return value
38
     * @return \ColissimoTracking\StructType\SkybillInformationResult|null
39
     */
40
    public function getReturn(): ?\ColissimoTracking\StructType\SkybillInformationResult
41
    {
42
        return $this->return;
43
    }
44
    /**
45
     * Set return value
46
     * @param \ColissimoTracking\StructType\SkybillInformationResult $return
47
     * @return \ColissimoTracking\StructType\TrackResponse
48
     */
49
    public function setReturn(?\ColissimoTracking\StructType\SkybillInformationResult $return = null): self
50
    {
51
        $this->return = $return;
52
        
53
        return $this;
54
    }
55
}
56