yii\mongodb\file\Cursor::__isset PHP 메소드

__isset() 공개 메소드

PHP magic method, which is invoked on attempt of checking if a property is set.
public __isset ( string $name ) : boolean
$name string field name.
리턴 boolean whether field exists or not.
    public function __isset($name)
    {
        $cursor = $this->getInnerIterator();
        return isset($cursor->{$name});
    }