original_string: public function scan(callable $accumulator, $seed = null)
      {
          return $this->lift(function () use ($accumulator, $seed) {
              return new ScanOperator($accumulator, $seed);
          });
      }
code: public function scan(callable $accumulator, $seed = null)
      {
          return $this->lift(function () use ($accumulator, $seed) {
              return new ScanOperator($accumulator, $seed);
          });
      }
code_tokens: public function scan ( callable $ accumulator , $ seed = null ) { return $ this -> lift ( function ( ) use ( $ accumulator , $ seed ) { return new ScanOperator ( $ accumulator , $ seed ) ; } ) ; }
docstring: Applies an accumulator function over an observable sequence and returns each intermediate result.
  The optional seed value is used as the initial accumulator value.
  For aggregation behavior with no intermediate results, see Observable.aggregate.
  
  @param $accumulator
  @param null $seed
  @return AnonymousObservable
docstring_tokens: Applies an accumulator function over an observable sequence and returns each intermediate result . The optional seed value is used as the initial accumulator value . For aggregation behavior with no intermediate results see Observable . aggregate .