File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -104,14 +104,24 @@ public function setEmail($value)
104
104
return $ this ->setParameter ('email ' , $ value );
105
105
}
106
106
107
+ public function getSource ()
108
+ {
109
+ return $ this ->getParameter ('source ' );
110
+ }
111
+
112
+ public function setSource ($ value )
113
+ {
114
+ $ this ->setParameter ('source ' , $ value );
115
+ }
116
+
107
117
public function getData ()
108
118
{
109
119
$ data = array ();
110
120
$ data ['description ' ] = $ this ->getDescription ();
111
121
112
122
if ($ this ->getToken ()) {
113
123
$ data ['card ' ] = $ this ->getToken ();
114
-
124
+
115
125
if ($ this ->getEmail ()) {
116
126
$ data ['email ' ] = $ this ->getEmail ();
117
127
}
@@ -126,6 +136,10 @@ public function getData()
126
136
$ data ['metadata ' ] = $ this ->getMetadata ();
127
137
}
128
138
139
+ if ($ this ->getSource ()) {
140
+ $ data ['source ' ] = $ this ->getSource ();
141
+ }
142
+
129
143
return $ data ;
130
144
}
131
145
You can’t perform that action at this time.
0 commit comments