src/Observable.php
public function bufferWithCount(int $count, int $skip = null): Observable
    {
        return $this->lift(function () use ($count, $skip) {
            return new BufferWithCountOperator($count, $skip);
        });
    }
public function bufferWithCount(int $count, int $skip = null): Observable
    {
        return $this->lift(function () use ($count, $skip) {
            return new BufferWithCountOperator($count, $skip);
        });
    }
public function bufferWithCount ( int $ count , int $ skip = null ) : Observable { return $ this -> lift ( function ( ) use ( $ count , $ skip ) { return new BufferWithCountOperator ( $ count , $ skip ) ; } ) ; }
Projects each element of an observable sequence into zero or more buffers which are produced based on
element count information.

@param $count
@param int $skip
@return Observable
@throws \InvalidArgumentException

@demo bufferWithCount/bufferWithCount.php
@demo bufferWithCount/bufferWithCountAndSkip.php
@operator
@reactivex buffer
Projects each element of an observable sequence into zero or more buffers which are produced based on element count information .