Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
FactoryGirl
Provider
Doctrine
FixtureFactory
persistOnGet
FactoryGirl\Provider\Doctrine\FixtureFactory::persistOnGet PHP Method
FixtureFactory Class Documentation
Datei anzeigen
Open project: breerly/factory-girl-php
persistOnGet()
public
method
By default it does not. In any case, you still need to call flush() yourself.
public
persistOnGet
(
$enabled
= true )
public function persistOnGet($enabled = true) { $this->persist = $enabled; }
FixtureFactory
__construct
addNamespace
checkFieldOverrides
createCollectionFrom
defineEntity
get
getAsSingleton
getEntityNamespace
getList
persistOnGet
setEntityNamespace
setField
setSingleton
unsetSingleton
updateCollectionSideOfAssocation