public function each($method, ...$args) { if ($this->count() === 0) { return 0; } $n = 0; foreach ($this as $obj) { $obj->{$method}(...$args); ++$n; } return $n; }