Beispiel #1
0
 public function findWithContent($id)
 {
     $order = Order::with('content')->find($id);
     if (!is_null($order)) {
         return $order;
     }
     throw new GeneralException(trans('exceptions.backend.article.not_found'));
 }