RainLab\Translate\Models\Message::getContentAttribute PHP Method

getContentAttribute() public method

Returns the value for the active locale.
public getContentAttribute ( ) : string
return string
    public function getContentAttribute()
    {
        return $this->forLocale(Lang::getLocale());
    }