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.

123456789101112131415161718
  1. <?php
  2. namespace domain\Order\OrderStatus;
  3. use domain\_\AbstractBuilder;
  4. class OrderStatusBuilder extends AbstractBuilder
  5. {
  6. public function instanciateOrderStatus(string $alias, string $name): OrderStatus
  7. {
  8. $orderStatus = new OrderStatus();
  9. $orderStatus->setAlias($alias);
  10. $orderStatus->setName($name);
  11. return $orderStatus;
  12. }
  13. }