- Bugfixes made while working on lean/console
This commit is contained in:
1 parent
338b599d39
commit
9ebf7b05d7
5 files changed
+23
-1
No files matched your search
@@ -222,6 +222,12 @@ class EntityCollection extends \ArrayObject implements \JsonSerializable {
|
||||
return $list;
|
||||
}
|
||||
|
||||
|
||||
public function walk(Callable $callback) : self
|
||||
{
|
||||
return $this->filtersCollection($callback);
|
||||
}
|
||||
|
||||
public function sum($field) : float|int
|
||||
{
|
||||
return array_sum($this->column($field));
|
||||
|
||||
Reference in new issue
Block a user