2 namespace Robo\Collection;
7 * Run a callback function on each item in a collection
9 * @param array $collection
11 * @return \Robo\Collection\TaskForEach|\Robo\Collection\CollectionBuilder
13 protected function taskForEach($collection = [])
15 return $this->task(TaskForEach::class, $collection);