public function __construct($commitMsg, $regularExpression) { $this->commitMsg = $commitMsg; $this->regularExpression = $regularExpression; }