Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
yii
di
Container
has
yii\di\Container::has PHP Méthode
Container Class Documentation
Afficher le fichier
Open project: yiisoft/yii2
has()
public
méthode
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
Résultat
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