Example #1
0
 public function match()
 {
     // step 0 get a random user
     if (User::where('id', 1)->first()) {
         echo 'f*****g defined';
     } else {
         echo 'f*****g not defined';
     }
     while (DateApplication::where('matched', false)->first()) {
     }
 }