Toggle navigation
Hot Examples
KO
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 1 문서
파일 보기
프로젝트 열기: neos/flow-development-collection
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