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
Neos
Flow
ObjectManagement
ObjectManager
hasInstance
Neos\Flow\ObjectManagement\ObjectManager::hasInstance PHP Method
ObjectManager Class Documentation
Show file
Open project: neos/flow-development-collection
hasInstance()
public
method
Returns TRUE if this object manager already has an instance for the specified object.
public
hasInstance
(
string
$objectName
) :
boolean
$objectName
string
The object name
return
boolean
TRUE if an instance already exists
public function hasInstance($objectName) { return isset($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