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
Pinq
IAggregatable
sum
Pinq\IAggregatable::sum PHP Method
IAggregatable Interface Documentation
Show file
Open project: timetoogo/pinq
sum()
public
method
Returns the sum of the values.
public
sum
(
callable
$function
= null ) :
integer
| double |
null
$function
callable
The function which will return the values.
return
integer
| double |
null
public function sum(callable $function = null);
IAggregatable
aggregate
all
any
average
count
implode
isEmpty
maximum
minimum
sum