Ejemplo n.º 1
0
 /**
  * Returns all currencies.
  *
  * @api
  * @author David Pauli <*****@*****.**>
  * @since 0.0.0
  * @return mixed[]|null All currencies in an array or null if the REST call will fail.
  */
 public function getCurrencies()
 {
     return Currencies::getItems();
 }
Ejemplo n.º 2
0
 /**
  * Returns all currencies.
  *
  * @author David Pauli <*****@*****.**>
  * @return mixed[]|null All currencies in an array or null if the REST call will fail.
  * @since 0.0.0
  * @since 0.1.2 Add error reporting.
  */
 public function getCurrencies()
 {
     self::errorReset();
     return Currencies::getItems();
 }