Revision 1324 | Blame | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed
<?phpnamespace App\Http\Requests;use App\Models\BackendUser;use Illuminate\Foundation\Http\FormRequest;use Illuminate\Validation\Rule;class ActionRequest extends FormRequest{/*** Determine if the user is authorized to make this request.** @return bool*/public function authorize(): bool{if ( isset( $GLOBALS["user_rechte"]["online_shop"]["aktion"] ) ){return true;}return false;}/*** Get the validation rules that apply to the request.** @return array<string, mixed>*/public function rules(): array{return [];}protected function prepareForValidation(): void{}}