main

filamentphp/demo

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

Settings.php

TLDR

This file defines a class called Settings that extends the Page class. It sets the navigation icon and view for the settings page.

Classes

Settings

The Settings class extends the Page class and is responsible for defining settings page in the application. It sets the navigation icon and view for the settings page.

<?php

namespace App\Filament\App\Pages;

use Filament\Pages\Page;

class Settings extends Page
{
    protected static ?string $navigationIcon = 'heroicon-o-document-text';

    protected static string $view = 'filament.app.pages.settings';
}