Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Neos
Flow
ObjectManagement
ObjectManagerInterface
forgetInstance
Neos\Flow\ObjectManagement\ObjectManagerInterface::forgetInstance PHP Method
ObjectManagerInterface Interface Documentation
Mostra file
Open project: neos/flow-development-collection
forgetInstance()
public
method
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
return
void
public function forgetInstance($objectName);
ObjectManagerInterface
forgetInstance
get
getCaseSensitiveObjectName
getClassNameByObjectName
getContext
getObjectNameByClassName
getPackageKeyByObjectName
getScope
getSessionInstances
isRegistered
registerShutdownObject
setInstance
shutdown