/** * 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(); }
/** * 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(); }