# fluent-community/2.10.0/app/Http/Requests/UserRequest.php

FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS &amp; Online Courses, version 2.10.0. 44 lines.

- Page: https://pluginprobe.com/plugins/fluent-community/2.10.0/code/app/Http/Requests/UserRequest.php
- Raw: https://pluginprobe.com/plugins/fluent-community/2.10.0/raw/app/Http/Requests/UserRequest.php
- Modified: 2026-07-24T13:35:06+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/fluent-community/2.10.0/code/app/Http/Requests/UserRequest.php#L10-L20`.

```php
<?php

namespace FluentCommunity\App\Http\Requests;

use FluentCommunity\Framework\Foundation\RequestGuard;

/**
 * @method array all(array $keys = [])
 */
class UserRequest extends RequestGuard
{
    /**
     * @return Array
     */
    public function rules()
    {
        return [];
    }

    /**
     * @return Array
     */
    public function messages()
    {
        return [];
    }

    /**
     * @return Array
     */
    public function sanitize()
    {
        $data = $this->all();

        $data['age'] = intval($data['age']);
        
        $data['address'] = wp_kses($data['address']);
        
        $data['name'] = sanitize_text_field($data['name']);
        
        return $data;
    }
}

```
