public function getNickName() : ?string 
    {
        if ( ! $this->hasNickName()) {
            $this->setNickName($this->getDefaultNickName());
        }
        return $this->nickName;
    }
public function getNickName() : ?string 
    {
        if ( ! $this->hasNickName()) {
            $this->setNickName($this->getDefaultNickName());
        }
        return $this->nickName;
    }
public function getNickName ( ) : ? string { if ( ! $ this -> hasNickName ( ) ) { $ this -> setNickName ( $ this -> getDefaultNickName ( ) ) ; } return $ this -> nickName ; }
Get nick name

If no "nick name" value has been set, this method will
set and return a default "nick name" value,
if any such value is available

@see getDefaultNickName()

@return string|null nick name or null if no nick name has been set
Get nick name