feat: add uploader
This commit is contained in:
23
modules/Common/Repository/Options/Status.php
Normal file
23
modules/Common/Repository/Options/Status.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Common\Repository\Options;
|
||||
|
||||
use Catch\Enums\Status as StatusEnum;
|
||||
|
||||
class Status implements OptionInterface
|
||||
{
|
||||
public function get(): array
|
||||
{
|
||||
return [
|
||||
[
|
||||
'label' => StatusEnum::Enable->name(),
|
||||
'value' => StatusEnum::Enable->value()
|
||||
],
|
||||
|
||||
[
|
||||
'label' => StatusEnum::Disable->name(),
|
||||
'value' => StatusEnum::Disable->value()
|
||||
]
|
||||
];
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user