I'd like to override your comments model with my own, so that I may add some additional data when creating comments, either through setters, etc. What is the best approach to doing this?
namespace App;
use BeyondCode\Comments\Comment as CommentSystem;
use Other\Trait\Name as NewTrait;
class Comment extends CommentSystem
{
use NewTrait;
}
I'd like to override your comments model with my own, so that I may add some additional data when creating comments, either through setters, etc. What is the best approach to doing this?