Skip to content

Commit

Permalink
feat: LazyObject (close #3)
Browse files Browse the repository at this point in the history
  • Loading branch information
ging-dev committed Jul 10, 2024
1 parent d8b1114 commit be39413
Show file tree
Hide file tree
Showing 36 changed files with 970 additions and 592 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,8 @@ try {
'accessCode' => 'yourPassword'
]);

$accountNumber = $session->customer()->accountNumber;

foreach ($session->historyTransactions([
'accountNumber' => $accountNumber,
'accountNumber' => $session->customer->accountNumber,
'startDate' => new \DateTimeImmutable('-5 days'),
]) as $transaction) {
echo $transaction->remark.PHP_EOL;
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"eventsauce/object-hydrator": "^1.4",
"symfony/options-resolver": "^7.1",
"symfony/dom-crawler": "^7.1",
"phpseclib/phpseclib": "^2.0"
"phpseclib/phpseclib": "^2.0",
"symfony/var-exporter": "^7.1"
},
"require-dev": {
"php-http/curl-client": "^2.3",
Expand Down
249 changes: 0 additions & 249 deletions docs/ErrorException.html

This file was deleted.

Loading

0 comments on commit be39413

Please sign in to comment.