123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <?php
- /**
- * Created by PhpStorm.
- * User: robin
- * Date: 11/24/15
- * Time: 12:26 PM
- */
-
- namespace app\Http\DBO;
-
-
- use Luticate\Utils\LuDbo;
-
- class CamerasImageDbo extends LuDbo
- {
- /**
- * Specify data which should be serialized to JSON
- * @link http://php.net/manual/en/jsonserializable.jsonserialize.php
- * @return mixed data which can be serialized by <b>json_encode</b>,
- * which is a value of any type other than a resource.
- * @since 5.4.0
- */
- function jsonSerialize()
- {
- return [
- "Image" => $this->_image
- ];
- }
-
- private $_image;
- /**
- * @return mixed
- */
- public function getImage()
- {
- return $this->_image;
- }
- /**
- * @param mixed $image
- */
- public function setImage($image)
- {
- $this->_image = $image;
- }
- }
|