Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function comeGetSum() {
- return array_reduce( $this->Items, function( $Value, $Item ) {
- $Value += $Item['Price'];
- return $Value;
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement