Example #1
0
 public static function withUserId($id)
 {
     $instance = new self();
     if ($instance->loadByUserId($id)) {
         return $instance;
     } else {
         return false;
     }
 }