コード例 #1
0
 public function getUserByColumnValue($column, $value)
 {
     $user = User::where($column, '=', $value)->first();
     return $user;
 }