Code Duplication    Length = 122-122 lines in 2 locations

src/WssWsSecurity/Secext/ReferenceType.php 1 location

@@ 11-132 (lines=122) @@
8
 * This type represents a reference to an external security token.
9
 * XSD Type: ReferenceType
10
 */
11
class ReferenceType
12
{
13
14
    /**
15
     * @property string $uRI
16
     */
17
    private $uRI = null;
18
19
    /**
20
     * @property string $valueType
21
     */
22
    private $valueType = null;
23
24
    /**
25
     * @property mixed[] $anyAttribute
26
     */
27
    private $anyAttribute = array(
28
        
29
    );
30
31
    /**
32
     * Gets as uRI
33
     *
34
     * @return string
35
     */
36
    public function getURI()
37
    {
38
        return $this->uRI;
39
    }
40
41
    /**
42
     * Sets a new uRI
43
     *
44
     * @param string $uRI
45
     * @return self
46
     */
47
    public function setURI($uRI)
48
    {
49
        $this->uRI = $uRI;
50
        return $this;
51
    }
52
53
    /**
54
     * Gets as valueType
55
     *
56
     * @return string
57
     */
58
    public function getValueType()
59
    {
60
        return $this->valueType;
61
    }
62
63
    /**
64
     * Sets a new valueType
65
     *
66
     * @param string $valueType
67
     * @return self
68
     */
69
    public function setValueType($valueType)
70
    {
71
        $this->valueType = $valueType;
72
        return $this;
73
    }
74
75
    /**
76
     * Adds as array
77
     *
78
     * @return self
79
     * @param mixed $array
80
     */
81
    public function addToAnyAttribute($array)
82
    {
83
        $this->anyAttribute[] = $array;
84
        return $this;
85
    }
86
87
    /**
88
     * isset anyAttribute
89
     *
90
     * @param scalar $index
91
     * @return boolean
92
     */
93
    public function issetAnyAttribute($index)
94
    {
95
        return isset($this->anyAttribute[$index]);
96
    }
97
98
    /**
99
     * unset anyAttribute
100
     *
101
     * @param scalar $index
102
     * @return void
103
     */
104
    public function unsetAnyAttribute($index)
105
    {
106
        unset($this->anyAttribute[$index]);
107
    }
108
109
    /**
110
     * Gets as anyAttribute
111
     *
112
     * @return mixed[]
113
     */
114
    public function getAnyAttribute()
115
    {
116
        return $this->anyAttribute;
117
    }
118
119
    /**
120
     * Sets a new anyAttribute
121
     *
122
     * @param mixed[] $anyAttribute
123
     * @return self
124
     */
125
    public function setAnyAttribute(array $anyAttribute)
126
    {
127
        $this->anyAttribute = $anyAttribute;
128
        return $this;
129
    }
130
131
132
}
133
134

src/WssWsSecurity/XmlSign/SignaturePropertyType.php 1 location

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