public function getArray($arrType = 'assoc')
    {
        $arr = [];
        $arr['leadingInit'] = $this->leadingInit;
        $arr['first'] = $this->first;
        $arr['nicknames'] = $this->nicknames;
        $arr['middle'] = $this->middle;
        $arr['last'] = $this->last;
        $arr['suffix'] = $this->suffix;
        if ($arrType == 'assoc') {
            return $arr;
        } elseif ($arrType == 'int') {
            return array_values($arr);
        } else {
            throw new Exception("Array must be associative ('assoc') or numeric ('num').");
        }
    }