Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

VisitorInterface.php 944B

pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
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. }