Completed
Push — soap-12 ( 6e3908...80b930 )
by Asmir
26:02
created

FaultBody::getFault()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
namespace GoetasWebservices\SoapServices\SoapClient\Envelope\SoapEnvelope\Messages;
3
4
/**
5
 * Class representing Fault
6
 */
7
class FaultBody
8
{
9
10
    /**
11
     * @property \GoetasWebservices\SoapServices\SoapClient\Envelope\SoapEnvelope\Parts\Fault $fault
12
     */
13
    private $fault = null;
14
15
    /**
16
     * Gets as fault
17
     *
18
     * @return \GoetasWebservices\SoapServices\SoapClient\Envelope\SoapEnvelope\Parts\Fault
19
     */
20
    public function getFault()
21
    {
22
        return $this->fault;
23
    }
24
25
    /**
26
     * Sets a new fault
27
     *
28
     * @param \GoetasWebservices\SoapServices\SoapClient\Envelope\SoapEnvelope\Parts\Fault $fault
29
     * @return self
30
     */
31
    public function setFault(\GoetasWebservices\SoapServices\SoapClient\Envelope\SoapEnvelope\Parts\Fault $fault)
32
    {
33
        $this->fault = $fault;
34
        return $this;
35
    }
36
37
38
}
39
40