30 lines
478 B
PHP
30 lines
478 B
PHP
<?php
|
|
|
|
namespace App\Repos\Payment;
|
|
|
|
class PaymentStatusRepo
|
|
{
|
|
/**
|
|
* Resource has been paid
|
|
*/
|
|
public const PAID = 'paid';
|
|
|
|
/**
|
|
* Resource has not been paid
|
|
*/
|
|
public const UNPAID = 'unpaid';
|
|
|
|
/**
|
|
* Payment statuses
|
|
*
|
|
* @return array<string, string>
|
|
*/
|
|
public static function values(): array
|
|
{
|
|
return [
|
|
self::PAID => __('Paid'),
|
|
self::UNPAID => __('Unpaid'),
|
|
];
|
|
}
|
|
}
|