You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

OrderStatusDefinition.php 707B

5 kuukautta sitten
12345678910111213141516171819202122232425262728293031
  1. <?php
  2. namespace domain\Order\OrderStatus;
  3. use domain\_\AbstractDefinition;
  4. class OrderStatusDefinition extends AbstractDefinition
  5. {
  6. public function getEntityFqcn(): string
  7. {
  8. return OrderStatus::class;
  9. }
  10. public function getOrderStatusList(): array
  11. {
  12. return [
  13. OrderStatus::ALIAS_ORDERED => [
  14. 'label' => 'Ajoutée'
  15. ],
  16. OrderStatus::ALIAS_UPDATED => [
  17. 'label' => 'Modifiée'
  18. ],
  19. OrderStatus::ALIAS_CANCELED => [
  20. 'label' => 'Annulée'
  21. ],
  22. OrderStatus::ALIAS_DELETED => [
  23. 'label' => 'Supprimée'
  24. ]
  25. ];
  26. }
  27. }