FeaturePhp/Helper/Logic.php
public static function _or(/* ... */) {
        $args = func_get_args();
        return function ($features) use ($args) {
            $acc = false;
            foreach ($args as $arg)
                $acc = $acc || $arg($features);
            return $acc;
        };
    }
public static function _or(/* ... */) {
        $args = func_get_args();
        return function ($features) use ($args) {
            $acc = false;
            foreach ($args as $arg)
                $acc = $acc || $arg($features);
            return $acc;
        };
    }
public static function _or ( /* ... */ ) { $ args = func_get_args ( ) ; return function ( $ features ) use ( $ args ) { $ acc = false ; foreach ( $ args as $ arg ) $ acc = $ acc || $ arg ( $ features ) ; return $ acc ; } ; }
Returns a formula that is the disjunction of other formulas.
Formulas can be supplied variadically.
@return callable
Returns a formula that is the disjunction of other formulas . Formulas can be supplied variadically .