yii\di\ServiceLocator::__isset PHP Méthode

__isset() public méthode

This method overrides the parent implementation by checking if the named component is loaded.
public __isset ( string $name ) : boolean
$name string the property name or the event name
Résultat boolean whether the property value is null
    public function __isset($name)
    {
        if ($this->has($name, true)) {
            return true;
        } else {
            return parent::__isset($name);
        }
    }