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

        $cloned->bodyLocalized = new Localized('');
        $cloned->body = $body;

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

        $cloned->bodyLocalized = new Localized('');
        $cloned->body = $body;

        return $cloned;
    }
public function withBody ( string $ body ) : Alert { $ cloned = clone $ this ; $ cloned -> bodyLocalized = new Localized ( '' ) ; $ cloned -> body = $ body ; return $ cloned ; }
Set body

@param string $body

@return Alert
Set body