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.

VisitorInterface.php 944B

пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. namespace Lc\CaracoleBundle\Model\User;
  3. use Doctrine\Common\Collections\Collection;
  4. use Lc\CaracoleBundle\Model\Order\OrderShopInterface;
  5. interface VisitorInterface
  6. {
  7. public function getSummary();
  8. public function getCookie(): ?string;
  9. public function setCookie(?string $cookie): VisitorInterface;
  10. public function getLastAccess(): ?\DateTimeInterface;
  11. public function setLastAccess(\DateTimeInterface $lastAccess): VisitorInterface;
  12. public function getIp(): ?string;
  13. public function setIp(?string $ip): VisitorInterface;
  14. public function getTotalVisit(): ?int;
  15. public function setTotalVisit(int $totalVisit): VisitorInterface;
  16. /**
  17. * @return Collection|OrderShopInterface[]
  18. */
  19. public function getOrders(): Collection;
  20. public function addOrder(OrderShopInterface $order): VisitorInterface;
  21. public function removeOrder(OrderShopInterface $order): VisitorInterface;
  22. }