Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
FactoryGirl
Provider
Doctrine
FixtureFactory
unsetSingleton
FactoryGirl\Provider\Doctrine\FixtureFactory::unsetSingleton PHP Method
FixtureFactory Class Documentation
Show file
Open project: breerly/factory-girl-php
unsetSingleton()
public
method
This causes
get($name)
to return new entities again.
public
unsetSingleton
(
$name
)
public function unsetSingleton($name) { unset($this->singletons[$name]); }
FixtureFactory
__construct
addNamespace
checkFieldOverrides
createCollectionFrom
defineEntity
get
getAsSingleton
getEntityNamespace
getList
persistOnGet
setEntityNamespace
setField
setSingleton
unsetSingleton
updateCollectionSideOfAssocation