src/Model/Alert.php
public function withTitle(string $title): Alert
    {
        $cloned = clone $this;

        $cloned->titleLocalized = new Localized('');
        $cloned->title = $title;

        return $cloned;
    }
public function withTitle(string $title): Alert
    {
        $cloned = clone $this;

        $cloned->titleLocalized = new Localized('');
        $cloned->title = $title;

        return $cloned;
    }
Set title

@param string $title

@return Alert