- Bugfixes made while working on lean/console

This commit is contained in:
mcndave committed 2023-08-29 20:29:33 +00:00
1 parent 338b599d39
commit 9ebf7b05d7
5 files changed
+23 -1

No files matched your search

+6
View File
@@ -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));