$menu->{'title_'.$lang}class Menu {
public function getTitile ($lang)
{
return $this->getAttribute('title_' . $lang);
}
}{{$menu->getTitle($lang)}}class Menu {
public function getTitleAttribute()
{
return $this->getAttribute('title_' . app('locale'));
}
}{{$menu->title}}