public static function createByComposedUUID(string $composedUUID): self
    {
        $parts = explode('~', $composedUUID);
        if (2 !== count($parts)) {
            throw InvalidFormatException::composedItemUUIDNotValid($composedUUID);
        }

        return new self($parts[0], $parts[1]);
    }
public static function createByComposedUUID(string $composedUUID): self
    {
        $parts = explode('~', $composedUUID);
        if (2 !== count($parts)) {
            throw InvalidFormatException::composedItemUUIDNotValid($composedUUID);
        }

        return new self($parts[0], $parts[1]);
    }
public static function createByComposedUUID ( string $ composedUUID ) : self { $ parts = explode ( '~' , $ composedUUID ) ; if ( 2 !== count ( $ parts ) ) { throw InvalidFormatException :: composedItemUUIDNotValid ( $ composedUUID ) ; } return new self ( $ parts [ 0 ] , $ parts [ 1 ] ) ; }
Create by composed uuid.

@param string $composedUUID

@return ItemUUID

@throws InvalidFormatException
Create by composed uuid .