private function visitQueries(array $queries)
    {
        $result = [];
        foreach ($queries as $query) {
            $result[] = $this->getInterpreter($query)->visit($query);
        }

        return $result;
    }
private function visitQueries(array $queries)
    {
        $result = [];
        foreach ($queries as $query) {
            $result[] = $this->getInterpreter($query)->visit($query);
        }

        return $result;
    }
private function visitQueries ( array $ queries ) { $ result = [ ] ; foreach ( $ queries as $ query ) { $ result [ ] = $ this -> getInterpreter ( $ query ) -> visit ( $ query ) ; } return $ result ; }
Returns visited queries.

@param QueryInterface[] $queries

@return array
Returns visited queries .