1 | <?php |
||
16 | trait ObjectValues |
||
17 | { |
||
18 | /** |
||
19 | * @param Email $email |
||
20 | * |
||
21 | * @return null|string |
||
22 | */ |
||
23 | 13 | public function email($email = null) |
|
27 | |||
28 | /** |
||
29 | * @param Money $amount |
||
30 | * |
||
31 | * @return int|null |
||
32 | */ |
||
33 | 8 | public function amount($amount) |
|
37 | |||
38 | /** |
||
39 | * @param Currency|Money $currency |
||
40 | * |
||
41 | * @return null|string |
||
42 | */ |
||
43 | 9 | public function currency($currency) |
|
51 | |||
52 | /** |
||
53 | * @param \DateTime|null $dateTime |
||
54 | * |
||
55 | * @return int|null |
||
56 | */ |
||
57 | 15 | public function dateTime($dateTime) |
|
61 | } |
||
62 |