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