AssetCheckoutRequest.php
Go to the documentation of this file.
1 <?php
2 
3 namespace App\Http\Requests;
4 
6 
8 {
14  public function authorize()
15  {
16  return true;
17  }
18 
24  public function rules()
25  {
26  return [
27  "assigned_to" => 'required',
28  ];
29  }
30 }
rules()
Get the validation rules that apply to the request.
authorize()
Determine if the user is authorized to make this request.