Polyglot\Polyglot::__isset PHP 메소드

__isset() 공개 메소드

Checks if a field isset while taking into account localized attributes
public __isset ( string $key ) : boolean
$key string The key
리턴 boolean
    public function __isset($key)
    {
        if ($this->polyglot) {
            if (in_array($key, $this->getPolyglotAttributes())) {
                return true;
            }
        }
        return parent::__isset($key);
    }