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

EncodedStringType   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 32
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 32
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getEncodingType() 0 4 1
A setEncodingType() 0 5 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