public function attr(...$args)
    {
        $this->each(function ($item) use ($args) {
            $item->attr(...$args);
        });

        return $this;
    }
public function attr(...$args)
    {
        $this->each(function ($item) use ($args) {
            $item->attr(...$args);
        });

        return $this;
    }
public function attr ( ... $ args ) { $ this -> each ( function ( $ item ) use ( $ args ) { $ item -> attr ( ... $ args ) ; } ) ; return $ this ; }
Add attributes to a collection of items

@return ItemCollection
Add attributes to a collection of items