| 1 | <?php |
||
| 11 | class EnrollmentCreateRequest extends FormRequest |
||
|
|
|||
| 12 | { |
||
| 13 | /** |
||
| 14 | * Determine if the user is authorized to make this request. |
||
| 15 | * |
||
| 16 | * @return bool |
||
| 17 | */ |
||
| 18 | public function authorize() |
||
| 19 | { |
||
| 20 | <<<<<<< HEAD |
||
| 21 | //return false; //Per defecte |
||
| 22 | ======= |
||
| 23 | //De moment true |
||
| 24 | >>>>>>> 92a55437464d45d8f28bae26a5a84fc695a03898 |
||
| 25 | return true; |
||
| 26 | } |
||
| 27 | |||
| 28 | |||
| 29 | |||
| 30 | /** |
||
| 31 | * Get the validation rules that apply to the request. |
||
| 32 | * |
||
| 33 | * @return array |
||
| 34 | */ |
||
| 35 | public function rules() |
||
| 36 | { |
||
| 37 | return [ |
||
| 38 | // |
||
| 42 |