Elgg\CommitMessage::setMsg PHP Method

setMsg() public method

Sets the active message
public setMsg ( string $msg ) : void
$msg string The message content
return void
    public function setMsg($msg)
    {
        $this->originalMsg = $msg;
        $msg = str_replace(array("\r", "\n"), "\n", $msg);
        $this->msg = $this->removeComments($msg);
        $this->processMsg();
    }