Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
AppserverIo
Appserver
PersistenceContainer
Doctrine
DoctrineEntityManagerProxy
flush
AppserverIo\Appserver\PersistenceContainer\Doctrine\DoctrineEntityManagerProxy::flush PHP Method
DoctrineEntityManagerProxy Class Documentation
Mostrar archivo
Open project: appserver-io/appserver
flush()
public
method
This effectively synchronizes the in-memory state of managed objects with the database. If an entity is explicitly passed to this method only this entity and the cascade-persist semantics + scheduled inserts/removals are synchronized.
public
flush
(
null
|
object
|
array
$entity
= null ) :
void
$entity
null
|
object
|
array
The entity to be synchronized
return
void
public function flush($entity = null) { return $this->__call('flush', array($entity)); }
DoctrineEntityManagerProxy
__call
__construct
__create
__getClassName
__getSession
__invoke
__setSession
beginTransaction
clear
close
commit
contains
copy
createNamedNativeQuery
createNamedQuery
createNativeQuery
createQuery
createQueryBuilder
detach
find
flush
getCache
getClassMetadata
getConfiguration
getConnection
getEventManager
getExpressionBuilder
getFilters
getHydrator
getMetadataFactory
getPartialReference
getProxyFactory
getReference
getRepository
getUnitOfWork
hasFilters
initializeObject
isFiltersStateClean
isOpen
lock
merge
newHydrator
persist
refresh
remove
rollback
transactional