Initial commit

This commit is contained in:
James
2024-12-03 21:27:44 +01:00
commit 613e1a767c
125 changed files with 16298 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<?php
declare(strict_types=1);
namespace App\Enums;
enum WalletTransactionType: string
{
case CREDIT = 'credit';
case DEBIT = 'debit';
public function isDebit(): bool
{
return $this === self::DEBIT;
}
public function isCredit(): bool
{
return $this === self::CREDIT;
}
}