@@ -15,11 +15,11 @@ |
||
| 15 | 15 | |
| 16 | 16 | $now = time(); |
| 17 | 17 | |
| 18 | - $options = []; |
|
| 19 | - $options['orderBy'] ="timestamp"; |
|
| 20 | - $options['startAt'] = $yesterday; |
|
| 21 | - $options['endAt'] = $now; |
|
| 22 | - //$opt['equalTo'] ='string that want to be equals'; |
|
| 18 | + $options = []; |
|
| 19 | + $options['orderBy'] ="timestamp"; |
|
| 20 | + $options['startAt'] = $yesterday; |
|
| 21 | + $options['endAt'] = $now; |
|
| 22 | + //$opt['equalTo'] ='string that want to be equals'; |
|
| 23 | 23 | |
| 24 | 24 | function test(...$params){ |
| 25 | 25 | // pass event to callback function |