VersionPress\Git\CommitMessage::__construct PHP Method

__construct() public method

public __construct ( string $subject, string $body = null )
$subject string First line of the commit message
$body string Optional, lines 3..n
    public function __construct($subject, $body = null)
    {
        $this->subject = $subject;
        $this->body = $body;
    }