src/Traits/Strings/FirstNameTrait.php
public function getFirstName() : ?string 
    {
        if ( ! $this->hasFirstName()) {
            $this->setFirstName($this->getDefaultFirstName());
        }
        return $this->firstName;
    }
public function getFirstName() : ?string 
    {
        if ( ! $this->hasFirstName()) {
            $this->setFirstName($this->getDefaultFirstName());
        }
        return $this->firstName;
    }
public function getFirstName ( ) : ? string { if ( ! $ this -> hasFirstName ( ) ) { $ this -> setFirstName ( $ this -> getDefaultFirstName ( ) ) ; } return $ this -> firstName ; }
Get first name

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

@see getDefaultFirstName()

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