src/Rocketeer/Strategies/AbstractPolyglotStrategy.php
protected function checkStrategiesResults($results)
    {
        $results = array_filter($results, function ($value) {
            return $value !== false && (!is_string($value) || mb_strpos($value, 'not found') === false);
        });

        return count($results) === count($this->strategies);
    }
protected function checkStrategiesResults($results)
    {
        $results = array_filter($results, function ($value) {
            return $value !== false && (!is_string($value) || mb_strpos($value, 'not found') === false);
        });

        return count($results) === count($this->strategies);
    }
protected function checkStrategiesResults ( $ results ) { $ results = array_filter ( $ results , function ( $ value ) { return $ value !== false && ( ! is_string ( $ value ) || mb_strpos ( $ value , 'not found' ) === false ) ; } ) ; return count ( $ results ) === count ( $ this -> strategies ) ; }
Assert that the results of a command are all true.

@param bool[] $results

@return bool
Assert that the results of a command are all true .