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.

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: robin
  5. * Date: 11/24/15
  6. * Time: 12:26 PM
  7. */
  8. namespace app\Http\DBO;
  9. use Luticate\Utils\LuDbo;
  10. class CamerasImageDbo extends LuDbo
  11. {
  12. /**
  13. * Specify data which should be serialized to JSON
  14. * @link http://php.net/manual/en/jsonserializable.jsonserialize.php
  15. * @return mixed data which can be serialized by <b>json_encode</b>,
  16. * which is a value of any type other than a resource.
  17. * @since 5.4.0
  18. */
  19. function jsonSerialize()
  20. {
  21. return [
  22. "Image" => $this->_image
  23. ];
  24. }
  25. private $_image;
  26. /**
  27. * @return mixed
  28. */
  29. public function getImage()
  30. {
  31. return $this->_image;
  32. }
  33. /**
  34. * @param mixed $image
  35. */
  36. public function setImage($image)
  37. {
  38. $this->_image = $image;
  39. }
  40. }