您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

OrderStatusInterface.php 860B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. namespace Lc\CaracoleBundle\Model\Order;
  3. use Doctrine\Common\Collections\Collection;
  4. interface OrderStatusInterface
  5. {
  6. public function getTitle(): ?string;
  7. public function setTitle(string $title): OrderStatusInterface;
  8. public function getDescription(): ?string;
  9. public function setDescription(?string $description): OrderStatusInterface;
  10. public function getNextStatusAllowed(): Collection;
  11. public function addNextStatusAllowed(OrderStatusInterface $nextStatusAllowed): OrderStatusInterface;
  12. public function removeNextStatusAllowed(OrderStatusInterface $nextStatusAllowed): OrderStatusInterface;
  13. public function getAlias(): ?string;
  14. public function setAlias(string $alias): OrderStatusInterface;
  15. public function getColor(): ?string;
  16. public function setColor(?string $color): OrderStatusInterface;
  17. }