Completed
Push — ws-security ( defbc5...87c9bd )
by Asmir
86:42 queued 56:41
created

EncodedStringType::setEncodingType()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
3
namespace GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\Secext;
4
5
/**
6
 * Class representing EncodedStringType
7
 *
8
 * This type is used for elements containing stringified binary data.
9
 * XSD Type: EncodedString
10
 */
11
class EncodedStringType extends AttributedStringType
12
{
13
14
    /**
15
     * @property string $encodingType
16
     */
17
    private $encodingType = null;
18
19
    /**
20
     * Gets as encodingType
21
     *
22
     * @return string
23
     */
24
    public function getEncodingType()
25
    {
26
        return $this->encodingType;
27
    }
28
29
    /**
30
     * Sets a new encodingType
31
     *
32
     * @param string $encodingType
33
     * @return self
34
     */
35
    public function setEncodingType($encodingType)
36
    {
37
        $this->encodingType = $encodingType;
38
        return $this;
39
    }
40
41
42
}
43
44