src/DTO/FillableFieldsList.php
public function eachFillable(Closure $closure)
    {
        /** @var FillableField $item */
        foreach ($this->items as $item) {
            if ($item->fillable) {
                $closure($item);
            }
        }
    }
public function eachFillable(Closure $closure)
    {
        /** @var FillableField $item */
        foreach ($this->items as $item) {
            if ($item->fillable) {
                $closure($item);
            }
        }
    }
public function eachFillable ( Closure $ closure ) { /** @var FillableField $item */ foreach ( $ this -> items as $ item ) { if ( $ item -> fillable ) { $ closure ( $ item ) ; } } }
Walks through the list and calls the closure on each field that can be filled.

@param Closure $closure
Walks through the list and calls the closure on each field that can be filled .