1
|
|
|
<?php |
2
|
|
|
/** |
3
|
|
|
* Date: 06.11.18 |
4
|
|
|
* Time: 14:06 |
5
|
|
|
*/ |
6
|
|
|
|
7
|
|
|
namespace AlecRabbit\Assets\Subclasses; |
8
|
|
|
|
9
|
|
|
use AlecRabbit\Assets\Asset; |
10
|
|
|
use AlecRabbit\Currency\Currency; |
11
|
|
|
|
12
|
|
|
/** |
13
|
|
|
* This is a generated file. Do not edit it manually! |
14
|
|
|
* |
15
|
|
|
* @method static Asset AED(string $amount) |
16
|
|
|
* @method static Asset ALL(string $amount) |
17
|
|
|
* @method static Asset AMD(string $amount) |
18
|
|
|
* @method static Asset ANG(string $amount) |
19
|
|
|
* @method static Asset AOA(string $amount) |
20
|
|
|
* @method static Asset ARS(string $amount) |
21
|
|
|
* @method static Asset AUD(string $amount) |
22
|
|
|
* @method static Asset AWG(string $amount) |
23
|
|
|
* @method static Asset AZN(string $amount) |
24
|
|
|
* @method static Asset BAM(string $amount) |
25
|
|
|
* @method static Asset BBD(string $amount) |
26
|
|
|
* @method static Asset BDT(string $amount) |
27
|
|
|
* @method static Asset BGN(string $amount) |
28
|
|
|
* @method static Asset BHD(string $amount) |
29
|
|
|
* @method static Asset BIF(string $amount) |
30
|
|
|
* @method static Asset BMD(string $amount) |
31
|
|
|
* @method static Asset BND(string $amount) |
32
|
|
|
* @method static Asset BOB(string $amount) |
33
|
|
|
* @method static Asset BOV(string $amount) |
34
|
|
|
* @method static Asset BRL(string $amount) |
35
|
|
|
* @method static Asset BSD(string $amount) |
36
|
|
|
* @method static Asset BTN(string $amount) |
37
|
|
|
* @method static Asset BWP(string $amount) |
38
|
|
|
* @method static Asset BYN(string $amount) |
39
|
|
|
* @method static Asset BZD(string $amount) |
40
|
|
|
* @method static Asset CAD(string $amount) |
41
|
|
|
* @method static Asset CDF(string $amount) |
42
|
|
|
* @method static Asset CHE(string $amount) |
43
|
|
|
* @method static Asset CHF(string $amount) |
44
|
|
|
* @method static Asset CHW(string $amount) |
45
|
|
|
* @method static Asset CLF(string $amount) |
46
|
|
|
* @method static Asset CLP(string $amount) |
47
|
|
|
* @method static Asset CNY(string $amount) |
48
|
|
|
* @method static Asset COP(string $amount) |
49
|
|
|
* @method static Asset COU(string $amount) |
50
|
|
|
* @method static Asset CRC(string $amount) |
51
|
|
|
* @method static Asset CUC(string $amount) |
52
|
|
|
* @method static Asset CUP(string $amount) |
53
|
|
|
* @method static Asset CVE(string $amount) |
54
|
|
|
* @method static Asset CZK(string $amount) |
55
|
|
|
* @method static Asset DJF(string $amount) |
56
|
|
|
* @method static Asset DKK(string $amount) |
57
|
|
|
* @method static Asset DOP(string $amount) |
58
|
|
|
* @method static Asset DZD(string $amount) |
59
|
|
|
* @method static Asset EGP(string $amount) |
60
|
|
|
* @method static Asset ERN(string $amount) |
61
|
|
|
* @method static Asset ETB(string $amount) |
62
|
|
|
* @method static Asset EUR(string $amount) |
63
|
|
|
* @method static Asset FJD(string $amount) |
64
|
|
|
* @method static Asset FKP(string $amount) |
65
|
|
|
* @method static Asset GBP(string $amount) |
66
|
|
|
* @method static Asset GEL(string $amount) |
67
|
|
|
* @method static Asset GHS(string $amount) |
68
|
|
|
* @method static Asset GIP(string $amount) |
69
|
|
|
* @method static Asset GMD(string $amount) |
70
|
|
|
* @method static Asset GNF(string $amount) |
71
|
|
|
* @method static Asset GTQ(string $amount) |
72
|
|
|
* @method static Asset GYD(string $amount) |
73
|
|
|
* @method static Asset HKD(string $amount) |
74
|
|
|
* @method static Asset HNL(string $amount) |
75
|
|
|
* @method static Asset HRK(string $amount) |
76
|
|
|
* @method static Asset HTG(string $amount) |
77
|
|
|
* @method static Asset HUF(string $amount) |
78
|
|
|
* @method static Asset IDR(string $amount) |
79
|
|
|
* @method static Asset ILS(string $amount) |
80
|
|
|
* @method static Asset INR(string $amount) |
81
|
|
|
* @method static Asset IQD(string $amount) |
82
|
|
|
* @method static Asset IRR(string $amount) |
83
|
|
|
* @method static Asset ISK(string $amount) |
84
|
|
|
* @method static Asset JMD(string $amount) |
85
|
|
|
* @method static Asset JOD(string $amount) |
86
|
|
|
* @method static Asset JPY(string $amount) |
87
|
|
|
* @method static Asset KES(string $amount) |
88
|
|
|
* @method static Asset KGS(string $amount) |
89
|
|
|
* @method static Asset KHR(string $amount) |
90
|
|
|
* @method static Asset KMF(string $amount) |
91
|
|
|
* @method static Asset KPW(string $amount) |
92
|
|
|
* @method static Asset KRW(string $amount) |
93
|
|
|
* @method static Asset KWD(string $amount) |
94
|
|
|
* @method static Asset KYD(string $amount) |
95
|
|
|
* @method static Asset KZT(string $amount) |
96
|
|
|
* @method static Asset LAK(string $amount) |
97
|
|
|
* @method static Asset LBP(string $amount) |
98
|
|
|
* @method static Asset LKR(string $amount) |
99
|
|
|
* @method static Asset LRD(string $amount) |
100
|
|
|
* @method static Asset LSL(string $amount) |
101
|
|
|
* @method static Asset LYD(string $amount) |
102
|
|
|
* @method static Asset MAD(string $amount) |
103
|
|
|
* @method static Asset MDL(string $amount) |
104
|
|
|
* @method static Asset MGA(string $amount) |
105
|
|
|
* @method static Asset MKD(string $amount) |
106
|
|
|
* @method static Asset MMK(string $amount) |
107
|
|
|
* @method static Asset MNT(string $amount) |
108
|
|
|
* @method static Asset MOP(string $amount) |
109
|
|
|
* @method static Asset MRU(string $amount) |
110
|
|
|
* @method static Asset MUR(string $amount) |
111
|
|
|
* @method static Asset MVR(string $amount) |
112
|
|
|
* @method static Asset MWK(string $amount) |
113
|
|
|
* @method static Asset MXN(string $amount) |
114
|
|
|
* @method static Asset MXV(string $amount) |
115
|
|
|
* @method static Asset MYR(string $amount) |
116
|
|
|
* @method static Asset MZN(string $amount) |
117
|
|
|
* @method static Asset NAD(string $amount) |
118
|
|
|
* @method static Asset NGN(string $amount) |
119
|
|
|
* @method static Asset NIO(string $amount) |
120
|
|
|
* @method static Asset NOK(string $amount) |
121
|
|
|
* @method static Asset NPR(string $amount) |
122
|
|
|
* @method static Asset NZD(string $amount) |
123
|
|
|
* @method static Asset OMR(string $amount) |
124
|
|
|
* @method static Asset PAB(string $amount) |
125
|
|
|
* @method static Asset PEN(string $amount) |
126
|
|
|
* @method static Asset PGK(string $amount) |
127
|
|
|
* @method static Asset PHP(string $amount) |
128
|
|
|
* @method static Asset PKR(string $amount) |
129
|
|
|
* @method static Asset PLN(string $amount) |
130
|
|
|
* @method static Asset PYG(string $amount) |
131
|
|
|
* @method static Asset QAR(string $amount) |
132
|
|
|
* @method static Asset RON(string $amount) |
133
|
|
|
* @method static Asset RSD(string $amount) |
134
|
|
|
* @method static Asset RUB(string $amount) |
135
|
|
|
* @method static Asset RWF(string $amount) |
136
|
|
|
* @method static Asset SAR(string $amount) |
137
|
|
|
* @method static Asset SBD(string $amount) |
138
|
|
|
* @method static Asset SCR(string $amount) |
139
|
|
|
* @method static Asset SDG(string $amount) |
140
|
|
|
* @method static Asset SEK(string $amount) |
141
|
|
|
* @method static Asset SGD(string $amount) |
142
|
|
|
* @method static Asset SHP(string $amount) |
143
|
|
|
* @method static Asset SLL(string $amount) |
144
|
|
|
* @method static Asset SOS(string $amount) |
145
|
|
|
* @method static Asset SRD(string $amount) |
146
|
|
|
* @method static Asset SSP(string $amount) |
147
|
|
|
* @method static Asset STN(string $amount) |
148
|
|
|
* @method static Asset SVC(string $amount) |
149
|
|
|
* @method static Asset SYP(string $amount) |
150
|
|
|
* @method static Asset SZL(string $amount) |
151
|
|
|
* @method static Asset THB(string $amount) |
152
|
|
|
* @method static Asset TJS(string $amount) |
153
|
|
|
* @method static Asset TMT(string $amount) |
154
|
|
|
* @method static Asset TND(string $amount) |
155
|
|
|
* @method static Asset TOP(string $amount) |
156
|
|
|
* @method static Asset TRY(string $amount) |
157
|
|
|
* @method static Asset TTD(string $amount) |
158
|
|
|
* @method static Asset TWD(string $amount) |
159
|
|
|
* @method static Asset TZS(string $amount) |
160
|
|
|
* @method static Asset UAH(string $amount) |
161
|
|
|
* @method static Asset UGX(string $amount) |
162
|
|
|
* @method static Asset USD(string $amount) |
163
|
|
|
* @method static Asset USN(string $amount) |
164
|
|
|
* @method static Asset UYI(string $amount) |
165
|
|
|
* @method static Asset UYU(string $amount) |
166
|
|
|
* @method static Asset UZS(string $amount) |
167
|
|
|
* @method static Asset VEF(string $amount) |
168
|
|
|
* @method static Asset VND(string $amount) |
169
|
|
|
* @method static Asset VUV(string $amount) |
170
|
|
|
* @method static Asset WST(string $amount) |
171
|
|
|
* @method static Asset XAF(string $amount) |
172
|
|
|
* @method static Asset XAG(string $amount) |
173
|
|
|
* @method static Asset XAU(string $amount) |
174
|
|
|
* @method static Asset XBA(string $amount) |
175
|
|
|
* @method static Asset XBB(string $amount) |
176
|
|
|
* @method static Asset XBC(string $amount) |
177
|
|
|
* @method static Asset XBD(string $amount) |
178
|
|
|
* @method static Asset XBT(string $amount) |
179
|
|
|
* @method static Asset XCD(string $amount) |
180
|
|
|
* @method static Asset XDR(string $amount) |
181
|
|
|
* @method static Asset XOF(string $amount) |
182
|
|
|
* @method static Asset XPD(string $amount) |
183
|
|
|
* @method static Asset XPF(string $amount) |
184
|
|
|
* @method static Asset XPT(string $amount) |
185
|
|
|
* @method static Asset XSU(string $amount) |
186
|
|
|
* @method static Asset XTS(string $amount) |
187
|
|
|
* @method static Asset XUA(string $amount) |
188
|
|
|
* @method static Asset XXX(string $amount) |
189
|
|
|
* @method static Asset YER(string $amount) |
190
|
|
|
* @method static Asset ZAR(string $amount) |
191
|
|
|
* @method static Asset ZMW(string $amount) |
192
|
|
|
* @method static Asset ZWL(string $amount) |
193
|
|
|
*/ |
194
|
|
|
trait AssetFactory |
195
|
|
|
{ |
196
|
|
|
/** |
197
|
|
|
* Convenience factory method for a Money object. |
198
|
|
|
* |
199
|
|
|
* <code> |
200
|
|
|
* $fiveDollar = Money::USD(500); |
201
|
|
|
* </code> |
202
|
|
|
* |
203
|
|
|
* @param string $method |
204
|
|
|
* @param array $arguments |
205
|
|
|
* |
206
|
|
|
* @return Asset |
207
|
|
|
* |
208
|
|
|
* @throws \InvalidArgumentException If amount is not integer(ish) |
209
|
|
|
*/ |
210
|
17 |
|
public static function __callStatic($method, $arguments) |
211
|
|
|
{ |
212
|
17 |
|
return new Asset($arguments[0], new Currency($method)); |
213
|
|
|
} |
214
|
|
|
} |
215
|
|
|
|