Entity.php 592 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. namespace ModulesGarden\Servers\ZimbraEmail\Core\RegisterManager;
  3. /**
  4. * Description of Entity
  5. *
  6. * @author Rafał Ossowski <rafal.os@modulesgarden.com>
  7. */
  8. class Entity
  9. {
  10. protected $key;
  11. protected $data;
  12. public function setData($data)
  13. {
  14. $this->data = $data;
  15. return $this;
  16. }
  17. public function getData()
  18. {
  19. return $this->data;
  20. }
  21. public function setKey($key)
  22. {
  23. $this->key = $key;
  24. return $this;
  25. }
  26. public function getKey()
  27. {
  28. return $this->key;
  29. }
  30. }