File size: 393 Bytes
6ed81b9 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
<?php
class ImageGalery
{
private $idImg;
private $urlImg;
private $namePlace;
public function __construct($id, $url, $name)
{
$this->idImg = $id;
$this->urlImg = $url;
$this->namePlace = $name;
}
public function getAtributes()
{
return ["id" => $this->idImg, "url" => $this->urlImg, "nombreLugar" => $this->namePlace];
}
} |