yii\elasticsearch\BatchQueryResult::valid PHP Méthode

valid() public méthode

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