private function getElements(array $queries, StorageInterface $storage)
    {
        $elements = [];
        foreach ($queries as $query) {
            $elements[] = $this->getInterpreter($query)->visit($query, $storage);
        }

        return $elements;
    }
private function getElements(array $queries, StorageInterface $storage)
    {
        $elements = [];
        foreach ($queries as $query) {
            $elements[] = $this->getInterpreter($query)->visit($query, $storage);
        }

        return $elements;
    }
private function getElements ( array $ queries , StorageInterface $ storage ) { $ elements = [ ] ; foreach ( $ queries as $ query ) { $ elements [ ] = $ this -> getInterpreter ( $ query ) -> visit ( $ query , $ storage ) ; } return $ elements ; }
Interprets given queries into elements.

@param QueryInterface[] $queries
@param StorageInterface $storage

@return ElementInterface[]
Interprets given queries into elements .