protected function _getAvatar() { $avatar = null; if (!empty($this->_properties['social_accounts'][0])) { $avatar = $this->_properties['social_accounts'][0]['avatar']; } return $avatar; }