/** * Get the avatar ID. * * @return int|null */ public function getAvatarId() { return $this->avatar ? $this->avatar->getId() : null; }
/** * Get the id of the page background. * * @return string */ public function getBackgroundId() { return $this->background ? $this->background->getId() : null; }