concrete/src/Database/DatabaseStructureManager.php
public function refreshEntities()
    {

        $metadatas = $this->clearCacheAndProxies();

        // Finally, we update the schema
        $tool = new SchemaTool($this->entityManager);
        $tool->updateSchema($metadatas, true);
    }
public function refreshEntities()
    {

        $metadatas = $this->clearCacheAndProxies();

        // Finally, we update the schema
        $tool = new SchemaTool($this->entityManager);
        $tool->updateSchema($metadatas, true);
    }
public function refreshEntities ( ) { $ metadatas = $ this -> clearCacheAndProxies ( ) ; // Finally, we update the schema $ tool = new SchemaTool ( $ this -> entityManager ) ; $ tool -> updateSchema ( $ metadatas , true ) ; }
Clears cache, regenerates all proxy classes, and updates metadatas in all entity managers
Clears cache regenerates all proxy classes and updates metadatas in all entity managers