src/Repository.php
public function each(callable $callback)
    {
        foreach ($this->items as $name => $item) {
            $callback($item, $name);
        }
    }
public function each(callable $callback)
    {
        foreach ($this->items as $name => $item) {
            $callback($item, $name);
        }
    }
Run function for each module.

@param callable $callback