コード例 #1
0
 /**
  * Update the specified resource in storage.
  *
  * @param  int     $id
  * @param Requests $request
  *
  * @return Response
  */
 public function update($id, Requests $request)
 {
     $basic = Basic::findOrFail($id);
     $basic->fill($request->all());
     $basic->save();
     return redirect()->route('basics.index')->with('message', 'Item updated successfully.');
 }
コード例 #2
0
 public function book()
 {
     $input = Requests::all();
     $booking = new App\Booking($input);
     $booking->push();
     $userID = $booking::userID;
     returnToUserBooking($userID);
 }
コード例 #3
0
 public function save(Requests $request)
 {
     $post = $request->all();
 }
コード例 #4
0
 public function postLogin(Requests $request)
 {
     return $request->all();
 }
コード例 #5
0
 public function store()
 {
     $pooloptions = new PoolOptions(Requests::all());
     $pooloptions->save();
     return $pooloptions;
 }
コード例 #6
0
 public function authenticate(Requests $request)
 {
     $credentials = $request->only('email', 'password');
 }