mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-09-05 04:05:07 +02:00
33 lines
564 B
PHP
33 lines
564 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Filament\Dashboards;
|
|
|
|
use Filament\Pages\Dashboard;
|
|
|
|
/**
|
|
* Class BaseDashboard.
|
|
*/
|
|
abstract class BaseDashboard extends Dashboard
|
|
{
|
|
/**
|
|
* Get the route path for the dashboard.
|
|
*
|
|
* @return string
|
|
*/
|
|
public static function getRoutePath(): string
|
|
{
|
|
return 'dashboards/'.static::getSlug();
|
|
}
|
|
|
|
/**
|
|
* Get the title for the dashboard.
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getTitle(): string
|
|
{
|
|
return static::getNavigationLabel();
|
|
}
|
|
} |