src/Utils/Str.php
public static function containsAll($haystack, array $needles)
    {
        foreach ($needles as $needle) {
            if ($needle != '' && mb_strpos($haystack, $needle) === false) {
                return false;
            }
        }

        return true;
    }
public static function containsAll($haystack, array $needles)
    {
        foreach ($needles as $needle) {
            if ($needle != '' && mb_strpos($haystack, $needle) === false) {
                return false;
            }
        }

        return true;
    }
public static function containsAll ( $ haystack , array $ needles ) { foreach ( $ needles as $ needle ) { if ( $ needle != '' && mb_strpos ( $ haystack , $ needle ) === false ) { return false ; } } return true ; }
Determine if a given string contains all given substring.

@param string $haystack
@param array  $needles

@return bool
Determine if a given string contains all given substring .