src/Repository/Database.php
private function loadUnitDataIteratorFromDatabase()
    {
        $result = $this->connection->query(
            sprintf("SELECT * FROM %s ORDER BY unique_id ASC", $this->tableName)
        );

        return new \ArrayIterator($result);
    }
private function loadUnitDataIteratorFromDatabase()
    {
        $result = $this->connection->query(
            sprintf("SELECT * FROM %s ORDER BY unique_id ASC", $this->tableName)
        );

        return new \ArrayIterator($result);
    }
private function loadUnitDataIteratorFromDatabase ( ) { $ result = $ this -> connection -> query ( sprintf ( "SELECT * FROM %s ORDER BY unique_id ASC" , $ this -> tableName ) ) ; return new \ ArrayIterator ( $ result ) ; }
Loads the UnitsOfWork from the database as Iterator

@return \ArrayIterator
Loads the UnitsOfWork from the database as Iterator