1 | <?php |
||
10 | class RefundRequest extends AbstractRequest |
||
11 | { |
||
12 | /** |
||
13 | * Get the raw data array for this message. The format of this varies from gateway to |
||
14 | * gateway, but will usually be either an associative array, or a SimpleXMLElement. |
||
15 | * |
||
16 | * @return mixed |
||
17 | */ |
||
18 | 9 | public function getData() |
|
34 | |||
35 | /** |
||
36 | * Get a request token. |
||
37 | * |
||
38 | * @return string |
||
39 | */ |
||
40 | 12 | public function getRequestToken() |
|
44 | } |
||
45 |
In PHP, under loose comparison (like
==
, or!=
, orswitch
conditions), values of different types might be equal.For
string
values, the empty string''
is a special case, in particular the following results might be unexpected: