Completed
Push — master ( 8e4c14...5cbf24 )
by Meng
02:18
created

SoapRequest::getSoapAction()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Meng\Soap;
4
5
class SoapRequest
6
{
7
    private $endpoint;
8
    private $soapAction;
9
    private $soapVersion;
10
    private $soapMessage;
11
12
    /**
13
     * @param string $endpoint
14
     * @param string $soapAction
15
     * @param string $soapVersion
16
     * @param string $soapMessage
17
     */
18
    public function __construct($endpoint, $soapAction, $soapVersion, $soapMessage)
19
    {
20
        $this->endpoint = $endpoint;
21
        $this->soapAction = $soapAction;
22
        $this->soapVersion = $soapVersion;
23
        $this->soapMessage = $soapMessage;
24
    }
25
26
    /**
27
     * @return string
28
     */
29
    public function getEndpoint()
30
    {
31
        return $this->endpoint;
32
    }
33
34
    /**
35
     * @return string
36
     */
37
    public function getSoapAction()
38
    {
39
        return $this->soapAction;
40
    }
41
42
    /**
43
     * @return string
44
     */
45
    public function getSoapVersion()
46
    {
47
        return $this->soapVersion;
48
    }
49
50
    /**
51
     * @return string
52
     */
53
    public function getSoapMessage()
54
    {
55
        return $this->soapMessage;
56
    }
57
}