1 | <?php |
||
20 | abstract class BaseProvider implements ProviderInterface |
||
21 | { |
||
22 | protected $from; |
||
23 | |||
24 | protected $to; |
||
25 | |||
26 | /** |
||
27 | * |
||
28 | * The origin currency |
||
29 | * |
||
30 | * @param string $value ISO Code 4217 (example : USD, EUR). See http://fr.wikipedia.org/wiki/ISO_4217 |
||
31 | * @return self |
||
32 | */ |
||
33 | public function from($value) |
||
39 | |||
40 | /** |
||
41 | * |
||
42 | * the currency desired |
||
43 | * |
||
44 | * @param string $value ISO Code 4217 (example : USD, EUR). See http://fr.wikipedia.org/wiki/ISO_4217 |
||
45 | * @return self |
||
46 | */ |
||
47 | public function to($value) |
||
53 | } |
||
54 |