turitezo / models /ImageGalery.php
chartManD's picture
Add Models from local project
6ed81b9
raw
history blame contribute delete
393 Bytes
<?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];
}
}