lib/omise/OmiseCapabilities.php
private static function combineFilters($filters)
    {
        return function ($value) use ($filters) {
            foreach ($filters as $filter) {
                if (!$filter($value)) {
                    return false;
                }
            }
            return true;
        };
    }
private static function combineFilters($filters)
    {
        return function ($value) use ($filters) {
            foreach ($filters as $filter) {
                if (!$filter($value)) {
                    return false;
                }
            }
            return true;
        };
    }
private static function combineFilters ( $ filters ) { return function ( $ value ) use ( $ filters ) { foreach ( $ filters as $ filter ) { if ( ! $ filter ( $ value ) ) { return false ; } } return true ; } ; }
Combines boolean filters.

@param  [functions] $filters

@return function
Combines boolean filters .