yii\di\ServiceLocator::__isset PHP 메소드

__isset() 공개 메소드

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
리턴 boolean whether the property value is null
    public function __isset($name)
    {
        if ($this->has($name, true)) {
            return true;
        } else {
            return parent::__isset($name);
        }
    }