Exemplo n.º 1
0
 public function getToolNameAttribute()
 {
     $tool = tool::where('tool_uuid', '=', $this->tool_uuid)->first();
     return $tool != null ? $tool->name : '?';
 }