Contao\Model\Collection::fetchAll PHP Метод

fetchAll() публичный Метод

Fetch all columns of every row
public fetchAll ( ) : array
Результат array An array with all rows and columns
    public function fetchAll()
    {
        $this->reset();
        $return = array();
        while ($this->next()) {
            $return[] = $this->row();
        }
        return $return;
    }