Beispiel #1
0
 /**
  * Get the avatar ID.
  *
  * @return int|null
  */
 public function getAvatarId()
 {
     return $this->avatar ? $this->avatar->getId() : null;
 }
Beispiel #2
0
 /**
  * Get the url of the page background.
  *
  * @return string
  */
 public function getBackgroundUrl()
 {
     return $this->background ? $this->background->getUrl() : '';
 }