as mentioned above, you can see the following line in the code:
return $teacher_name ?: "----";as mentioned above, you can see the following line in the code:
return $teacher_name ?: "----";  
Ternary operator:
return $teacher_name ?: '----';
 equals 
return $teacher_name ? $teacher_name : '----';
Shorthand for  
					Previous: Strange vue ie display blank problem
Next: Laravel global scope cannot operate on restricted data after use.