public function getTypeAttribute() { return str_replace('DEFINITION', '', strtoupper(get_called_class())); }