lib/omise/OmiseCapabilities.php
public function makeBackendFilterCurrency($currency)
    {
        return function ($backend) use ($currency) {
            return in_array(strtolower($currency), array_map('strtolower', $backend->currencies));
        };
    }
public function makeBackendFilterCurrency($currency)
    {
        return function ($backend) use ($currency) {
            return in_array(strtolower($currency), array_map('strtolower', $backend->currencies));
        };
    }
public function makeBackendFilterCurrency ( $ currency ) { return function ( $ backend ) use ( $ currency ) { return in_array ( strtolower ( $ currency ) , array_map ( 'strtolower' , $ backend -> currencies ) ) ; } ; }
Makes a filter function to check supported currency for backend.

@param  string $currency

@return function
Makes a filter function to check supported currency for backend .