public function refreshIdentifiers(AbstractItem $item)
    {
        /** @var Color $color */
        foreach ($item->getColors() as $color) {
            $color->refreshUuid();
        }

        /** @var Selection $selection */
        foreach ($item->getSelections() as $selection) {
            $selection->refreshUuid();
        }
    }
public function refreshIdentifiers(AbstractItem $item)
    {
        /** @var Color $color */
        foreach ($item->getColors() as $color) {
            $color->refreshUuid();
        }

        /** @var Selection $selection */
        foreach ($item->getSelections() as $selection) {
            $selection->refreshUuid();
        }
    }
public function refreshIdentifiers ( AbstractItem $ item ) { /** @var Color $color */ foreach ( $ item -> getColors ( ) as $ color ) { $ color -> refreshUuid ( ) ; } /** @var Selection $selection */ foreach ( $ item -> getSelections ( ) as $ selection ) { $ selection -> refreshUuid ( ) ; } }
Refreshes selections and colors UUIDs.

@param SelectionQuestion $item
Refreshes selections and colors UUIDs .