src/SimpleFeature.php
/**
     * Checks whether all features are enabled or not
     * @param array $features
     * @param bool $default
     * @return bool
     */
Checks whether all features are enabled or not
@param array $features
@param bool $default
@return bool
Checks whether all features are enabled or not @param array $features @param bool $default @return bool
public function allEnabled(array $features, bool $default = false): bool
    {
        foreach ($features as $feature) {
            if ($this->disabled($feature, $default)) {
                return false;
            }
        }
        return true;
    }
public function allEnabled ( array $ features , bool $ default = false ) : bool { foreach ( $ features as $ feature ) { if ( $ this -> disabled ( $ feature , $ default ) ) { return false ; } } return true ; }
Checks whether all features are enabled or not
 @param array $features
 @param bool $default
 @return bool
Checks whether all features are enabled or not @param array $features @param bool $default @return bool