src/Repository/Database.php
private function buildMigrations()
    {
        $unitDataArray = $this->loadUnitDataIteratorFromDatabase();
        foreach ($unitDataArray as $unitData) {
            $unitOfWork = UnitOfWorkFactory::BuildFromFlatArray($unitData);
            $this->presentUidsOnConstruction[$unitOfWork->getUniqueId()] = true;
            $this->add($unitOfWork);
        }
    }
private function buildMigrations()
    {
        $unitDataArray = $this->loadUnitDataIteratorFromDatabase();
        foreach ($unitDataArray as $unitData) {
            $unitOfWork = UnitOfWorkFactory::BuildFromFlatArray($unitData);
            $this->presentUidsOnConstruction[$unitOfWork->getUniqueId()] = true;
            $this->add($unitOfWork);
        }
    }
private function buildMigrations ( ) { $ unitDataArray = $ this -> loadUnitDataIteratorFromDatabase ( ) ; foreach ( $ unitDataArray as $ unitData ) { $ unitOfWork = UnitOfWorkFactory :: BuildFromFlatArray ( $ unitData ) ; $ this -> presentUidsOnConstruction [ $ unitOfWork -> getUniqueId ( ) ] = true ; $ this -> add ( $ unitOfWork ) ; } }
Builds the migrations from the database

@return void
Builds the migrations from the database