public static function getItem(Form $aggregate, string $itemUuid)
    {
        foreach ($aggregate->items as &$item) {
            if ($c = self::getMatching($item, $itemUuid, null, $aggregate->items)) {
                return $c;
            }
        }

        return null;
    }
public static function getItem(Form $aggregate, string $itemUuid)
    {
        foreach ($aggregate->items as &$item) {
            if ($c = self::getMatching($item, $itemUuid, null, $aggregate->items)) {
                return $c;
            }
        }

        return null;
    }
public static function getItem ( Form $ aggregate , string $ itemUuid ) { foreach ( $ aggregate -> items as & $ item ) { if ( $ c = self :: getMatching ( $ item , $ itemUuid , null , $ aggregate -> items ) ) { return $ c ; } } return null ; }
Gets a item by its uuid from the aggregate.

@param Form   $aggregate
@param string $itemUuid

@return mixed
Gets a item by its uuid from the aggregate .