openclassify/Modules/Listing/States/ExpiredListingStatus.php
2026-03-03 12:49:08 +03:00

34 lines
748 B
PHP

<?php
namespace Modules\Listing\States;
use Filament\Support\Contracts\HasColor;
use Filament\Support\Contracts\HasDescription;
use Filament\Support\Contracts\HasIcon;
use Filament\Support\Contracts\HasLabel;
class ExpiredListingStatus extends ListingStatus implements HasColor, HasDescription, HasIcon, HasLabel
{
protected static string $name = 'expired';
public function getLabel(): ?string
{
return 'Expired';
}
public function getColor(): string | array | null
{
return 'danger';
}
public function getIcon(): ?string
{
return 'heroicon-o-x-circle';
}
public function getDescription(): ?string
{
return 'Listing is no longer active due to expiry.';
}
}