chore: update composer dependencies to include phppresentation chore: update composer.lock after adding phppresentation feat: create categories migration for category management feat: create templates migration for template storage feat: create template generations migration for tracking template usage feat: create template keys migration for template customization feat: create notifications migration for user notifications feat: update API routes for categories, templates, and user profile management docs: update API documentation to include new endpoints for profile and wallet
20 lines
341 B
PHP
20 lines
341 B
PHP
<?php
|
|
|
|
namespace App\Enums;
|
|
|
|
enum TemplateKeyType: string
|
|
{
|
|
case Text = 'text';
|
|
case Image = 'image';
|
|
case Chart = 'chart';
|
|
|
|
public function label(): string
|
|
{
|
|
return match ($this) {
|
|
self::Text => 'متن',
|
|
self::Image => 'عکس',
|
|
self::Chart => 'چارت',
|
|
};
|
|
}
|
|
}
|