main

filamentphp/demo

Last updated at: 29/12/2023 09:42

CreateCustomer.php

TLDR

This file is a PHP class that extends the CreateRecord class and is located at app/Filament/Resources/Shop/CustomerResource/Pages/CreateCustomer.php. It belongs to the Shop/CustomerResource resource in the Filament package.

Classes

CreateCustomer

This class extends the CreateRecord class and is used to create a new customer record in the Filament admin interface. It is a part of the Shop/CustomerResource resource in the Filament package.

<?php

namespace App\Filament\Resources\Shop\CustomerResource\Pages;

use App\Filament\Resources\Shop\CustomerResource;
use Filament\Resources\Pages\CreateRecord;

class CreateCustomer extends CreateRecord
{
    protected static string $resource = CustomerResource::class;
}