Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
React
Promise
FunctionReduceTest
plus
React\Promise\FunctionReduceTest::plus PHP Method
FunctionReduceTest Class Documentation
Show file
Open project: reactphp/promise
plus()
protected
method
protected
plus
( )
protected function plus() { return function ($sum, $val) { return $sum + $val; }; }
FunctionReduceTest
append
plus
shouldAllowSparseArrayInputWithInitialValue
shouldAllowSparseArrayInputWithoutInitialValue
shouldCancelInputArrayPromises
shouldProvideCorrectBasisValue
shouldReduceEmptyInputWithInitialPromise
shouldReduceEmptyInputWithInitialValue
shouldReduceInInputOrder
shouldReducePromisedValuesWithInitialPromise
shouldReducePromisedValuesWithInitialValue
shouldReducePromisedValuesWithoutInitialValue
shouldReduceValuesWithInitialPromise
shouldReduceValuesWithInitialValue
shouldReduceValuesWithoutInitialValue
shouldRejectWhenInputContainsRejection
shouldResolveWithNullWhenInputIsEmptyAndNoInitialValueOrPromiseProvided