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

KeyValueType::issetAnyElement()   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 1
1
<?php
2
3
namespace GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign;
4
5
/**
6
 * Class representing KeyValueType
7
 *
8
 *
9
 * XSD Type: KeyValueType
10
 */
11
class KeyValueType
12
{
13
14
    /**
15
     * @property
16
     * \GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\DSAKeyValue
17
     * $dSAKeyValue
18
     */
19
    private $dSAKeyValue = null;
20
21
    /**
22
     * @property
23
     * \GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\RSAKeyValue
24
     * $rSAKeyValue
25
     */
26
    private $rSAKeyValue = null;
27
28
    /**
29
     * @property mixed[] $anyElement
30
     */
31
    private $anyElement = array(
32
        
33
    );
34
35
    /**
36
     * Gets as dSAKeyValue
37
     *
38
     * @return
39
     * \GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\DSAKeyValue
40
     */
41
    public function getDSAKeyValue()
42
    {
43
        return $this->dSAKeyValue;
44
    }
45
46
    /**
47
     * Sets a new dSAKeyValue
48
     *
49
     * @param
50
     * \GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\DSAKeyValue
51
     * $dSAKeyValue
52
     * @return self
53
     */
54
    public function setDSAKeyValue(\GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\DSAKeyValue $dSAKeyValue)
55
    {
56
        $this->dSAKeyValue = $dSAKeyValue;
57
        return $this;
58
    }
59
60
    /**
61
     * Gets as rSAKeyValue
62
     *
63
     * @return
64
     * \GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\RSAKeyValue
65
     */
66
    public function getRSAKeyValue()
67
    {
68
        return $this->rSAKeyValue;
69
    }
70
71
    /**
72
     * Sets a new rSAKeyValue
73
     *
74
     * @param
75
     * \GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\RSAKeyValue
76
     * $rSAKeyValue
77
     * @return self
78
     */
79
    public function setRSAKeyValue(\GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\RSAKeyValue $rSAKeyValue)
80
    {
81
        $this->rSAKeyValue = $rSAKeyValue;
82
        return $this;
83
    }
84
85
    /**
86
     * Adds as array
87
     *
88
     * @return self
89
     * @param mixed $array
90
     */
91
    public function addToAnyElement($array)
92
    {
93
        $this->anyElement[] = $array;
94
        return $this;
95
    }
96
97
    /**
98
     * isset anyElement
99
     *
100
     * @param scalar $index
101
     * @return boolean
102
     */
103
    public function issetAnyElement($index)
104
    {
105
        return isset($this->anyElement[$index]);
106
    }
107
108
    /**
109
     * unset anyElement
110
     *
111
     * @param scalar $index
112
     * @return void
113
     */
114
    public function unsetAnyElement($index)
115
    {
116
        unset($this->anyElement[$index]);
117
    }
118
119
    /**
120
     * Gets as anyElement
121
     *
122
     * @return mixed[]
123
     */
124
    public function getAnyElement()
125
    {
126
        return $this->anyElement;
127
    }
128
129
    /**
130
     * Sets a new anyElement
131
     *
132
     * @param mixed[] $anyElement
133
     * @return self
134
     */
135
    public function setAnyElement(array $anyElement)
136
    {
137
        $this->anyElement = $anyElement;
138
        return $this;
139
    }
140
141
142
}
143
144