Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
yii
di
Container
has
yii\di\Container::has PHP Method
Container Class Documentation
ファイルを表示
Open project: yiisoft/yii2
has()
public
method
Returns a value indicating whether the container has the definition of the specified name.
See also:
set()
public
has
(
string
$class
) :
boolean
$class
string
class name, interface name or alias name
return
boolean
whether the container has the definition of the specified name..
public function has($class) { return isset($this->_definitions[$class]); }
Container
build
clear
get
getDefinitions
getDependencies
has
hasSingleton
invoke
mergeParams
normalizeDefinition
resolveCallableDependencies
resolveDependencies
set
setDefinitions
setSingleton
setSingletons