%PDF- %PDF-
Direktori : /var/www/html/geotechnics/api/app/Http/Requests/Api/v1/Projects/ |
Current File : /var/www/html/geotechnics/api/app/Http/Requests/Api/v1/Projects/RejectProjectRequest.php |
<?php namespace App\Http\Requests\Api\v1\Projects; use App\Http\Requests\BaseRequest; class RejectProjectRequest extends BaseRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get the validation rules that apply to the request. * * @return array */ public function rules() { return [ 'reason' => 'required|exists:rejection_reasons,id', ]; } }