Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Neos
Flow
ObjectManagement
ObjectManager
forgetInstance
Neos\Flow\ObjectManagement\ObjectManager::forgetInstance PHP Метод
Документация по классу ObjectManager
Показать файл
Открыть проект
forgetInstance()
публичный
Метод
If run during standard runtime, the whole application might become unstable because certain parts might already use an instance of this object. Therefore this method should only be used in a setUp() method of a functional test case.
public
forgetInstance
(
string
$objectName
) :
void
$objectName
string
The object name
Результат
void
public function forgetInstance($objectName) { unset($this->objects[$objectName]['i']); }
ObjectManager
__construct
buildObjectByFactory
callShutdownMethods
createLazyDependency
forgetInstance
get
getAllObjectConfigurations
getCaseSensitiveObjectName
getClassNameByObjectName
getContext
getInstance
getLazyDependencyByHash
getObjectNameByClassName
getPackageKeyByObjectName
getScope
getSessionInstances
getSettingsByPath
hasInstance
injectAllSettings
instantiateClass
isRegistered
registerShutdownObject
setInstance
setObjects
shutdown