Skip to content

Commit

Permalink
feat(example): real
Browse files Browse the repository at this point in the history
  • Loading branch information
h4kuna committed Aug 29, 2024
1 parent 64c4dcd commit 7119a1c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions examples/real.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php declare(strict_types=1);

use h4kuna\Exchange\ExchangeFactory;

require_once __DIR__ . '/../vendor/autoload.php';

$factory = new ExchangeFactory(to: 'EUR', tempDir: __DIR__ . '/../tests/temp/example');

$exchange = $factory->create();

var_dump($exchange->change(100));

0 comments on commit 7119a1c

Please sign in to comment.