yii\elasticsearch\BatchQueryResult::valid PHP 메소드

valid() 공개 메소드

This method is required by the interface [[\Iterator]].
public valid ( ) : boolean
리턴 boolean whether there is a valid dataset at the current position.
    public function valid()
    {
        return !empty($this->_batch);
    }