29 lines
310 B
PHP
29 lines
310 B
PHP
|
<?php
|
||
|
|
||
|
trait Locatable {
|
||
|
|
||
|
private $lat = null;
|
||
|
|
||
|
private $lon = null;
|
||
|
|
||
|
public function getLat () {
|
||
|
|
||
|
return $this->lat;
|
||
|
}
|
||
|
|
||
|
public function getLon () {
|
||
|
|
||
|
return $this->lon;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
trait Avatarable {
|
||
|
|
||
|
private $avatarImgSrc = null;
|
||
|
|
||
|
public function getAvatarImgSrc () {
|
||
|
|
||
|
return $this->avatarImgSrc;
|
||
|
}
|
||
|
}
|