Code Duplication    Length = 129-131 lines in 3 locations

src/WssWsSecurity/Secext/SecurityHeaderType.php 1 location

@@ 12-142 (lines=131) @@
9
 * at a specific SOAP actor.
10
 * XSD Type: SecurityHeaderType
11
 */
12
class SecurityHeaderType
13
{
14
15
    /**
16
     * @property mixed[] $anyAttribute
17
     */
18
    private $anyAttribute = array(
19
        
20
    );
21
22
    /**
23
     * @property mixed[] $anyElement
24
     */
25
    private $anyElement = array(
26
        
27
    );
28
29
    /**
30
     * Adds as array
31
     *
32
     * @return self
33
     * @param mixed $array
34
     */
35
    public function addToAnyAttribute($array)
36
    {
37
        $this->anyAttribute[] = $array;
38
        return $this;
39
    }
40
41
    /**
42
     * isset anyAttribute
43
     *
44
     * @param scalar $index
45
     * @return boolean
46
     */
47
    public function issetAnyAttribute($index)
48
    {
49
        return isset($this->anyAttribute[$index]);
50
    }
51
52
    /**
53
     * unset anyAttribute
54
     *
55
     * @param scalar $index
56
     * @return void
57
     */
58
    public function unsetAnyAttribute($index)
59
    {
60
        unset($this->anyAttribute[$index]);
61
    }
62
63
    /**
64
     * Gets as anyAttribute
65
     *
66
     * @return mixed[]
67
     */
68
    public function getAnyAttribute()
69
    {
70
        return $this->anyAttribute;
71
    }
72
73
    /**
74
     * Sets a new anyAttribute
75
     *
76
     * @param mixed[] $anyAttribute
77
     * @return self
78
     */
79
    public function setAnyAttribute(array $anyAttribute)
80
    {
81
        $this->anyAttribute = $anyAttribute;
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

src/WssWsSecurity/Secext/TransformationParametersType.php 1 location

@@ 12-142 (lines=131) @@
9
 * namespace as properties/parameters of a DSIG transformation.
10
 * XSD Type: TransformationParametersType
11
 */
12
class TransformationParametersType
13
{
14
15
    /**
16
     * @property mixed[] $anyAttribute
17
     */
18
    private $anyAttribute = array(
19
        
20
    );
21
22
    /**
23
     * @property mixed[] $anyElement
24
     */
25
    private $anyElement = array(
26
        
27
    );
28
29
    /**
30
     * Adds as array
31
     *
32
     * @return self
33
     * @param mixed $array
34
     */
35
    public function addToAnyAttribute($array)
36
    {
37
        $this->anyAttribute[] = $array;
38
        return $this;
39
    }
40
41
    /**
42
     * isset anyAttribute
43
     *
44
     * @param scalar $index
45
     * @return boolean
46
     */
47
    public function issetAnyAttribute($index)
48
    {
49
        return isset($this->anyAttribute[$index]);
50
    }
51
52
    /**
53
     * unset anyAttribute
54
     *
55
     * @param scalar $index
56
     * @return void
57
     */
58
    public function unsetAnyAttribute($index)
59
    {
60
        unset($this->anyAttribute[$index]);
61
    }
62
63
    /**
64
     * Gets as anyAttribute
65
     *
66
     * @return mixed[]
67
     */
68
    public function getAnyAttribute()
69
    {
70
        return $this->anyAttribute;
71
    }
72
73
    /**
74
     * Sets a new anyAttribute
75
     *
76
     * @param mixed[] $anyAttribute
77
     * @return self
78
     */
79
    public function setAnyAttribute(array $anyAttribute)
80
    {
81
        $this->anyAttribute = $anyAttribute;
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

src/WssWsSecurity/XmlSign/SPKIDataType.php 1 location

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