src/ContextCollection.php
public function mustFindAll($re, $filter = null) {
        $result = $this->findAll($re, $filter);
        if ($result->count() == 0) {
            throw new QueryException('No match for regexp: '.$re);
        }

        return $result;
    }
public function mustFindAll($re, $filter = null) {
        $result = $this->findAll($re, $filter);
        if ($result->count() == 0) {
            throw new QueryException('No match for regexp: '.$re);
        }

        return $result;
    }
public function mustFindAll ( $ re , $ filter = null ) { $ result = $ this -> findAll ( $ re , $ filter ) ; if ( $ result -> count ( ) == 0 ) { throw new QueryException ( 'No match for regexp: ' . $ re ) ; } return $ result ; }
Find all with assertion
@param  string $re
@param  callable $filter
@return ContextCollection
@throws QueryException If nothing found.
Find all with assertion