src/Result.php
public function append($resource)
    {
        parent::append($resource);
        if ($this->totalCount !== null) {
            $this->setTotalCount($this->totalCount);
        }
    }
public function append($resource)
    {
        parent::append($resource);
        if ($this->totalCount !== null) {
            $this->setTotalCount($this->totalCount);
        }
    }
public function append ( $ resource ) { parent :: append ( $ resource ) ; if ( $ this -> totalCount !== null ) { $ this -> setTotalCount ( $ this -> totalCount ) ; } }
Append a Resource and possibly increase totalCount if needed.
Append a Resource and possibly increase totalCount if needed .