# fluent-cart/1.6.4/app/Http/Requests/CreatePageRequest.php

FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler, version 1.6.4. 23 lines.

- Page: https://pluginprobe.com/plugins/fluent-cart/1.6.4/code/app/Http/Requests/CreatePageRequest.php
- Raw: https://pluginprobe.com/plugins/fluent-cart/1.6.4/raw/app/Http/Requests/CreatePageRequest.php
- Modified: 2025-10-14T16:36:46+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-cart/1.6.4/code/app/Http/Requests/CreatePageRequest.php#L10-L20`.

```php
<?php

namespace FluentCart\App\Http\Requests;

use FluentCart\Framework\Foundation\RequestGuard;

class CreatePageRequest extends RequestGuard
{
    public function rules(): array
    {
        return [
            'page_name' => 'sanitizeText|required'
        ];
    }

    public function messages(): array
    {
        return [
            'page_name.required' => esc_html__('Page Name field is required.', 'fluent-cart'),
        ];
    }
}

```
