Rx\Operator\ReduceOperator::__construct PHP Method

__construct() public method

public __construct ( callable $accumulator, $seed )
$accumulator callable
$seed
    public function __construct(callable $accumulator, $seed)
    {
        $this->accumulator = $accumulator;
        $this->seed = $seed;
        $this->hasSeed = !is_null($seed);
    }