Files
animethemes-server/app/Filament/Dashboards/BaseDashboard.php
T
2024-05-23 17:22:01 -03:00

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();
}
}