1234567891011121314151617181920212223 |
- <?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()
- ]
- ];
- }
- }
|