Flarum\Core\Post\CommentPost::setContentAttribute PHP Method

setContentAttribute() public method

Parse the content before it is saved to the database.
public setContentAttribute ( string $value )
$value string
    public function setContentAttribute($value)
    {
        $this->attributes['content'] = $value ? static::$formatter->parse($value, $this) : null;
    }