src/Generator.php
public function getFullName($gender = null)
	{
		if (empty($gender)) {
			$gender = $this->getGender();
		}
		
		$person_name = new Entities\FullName;
		$person_name->first		= $this->getFirstName($gender);
		$person_name->middle	= $this->getMiddleName($gender);
		$person_name->last		= $this->getLastName();
		$person_name->gender	= $gender;
		
		return $person_name;
	}
public function getFullName($gender = null)
	{
		if (empty($gender)) {
			$gender = $this->getGender();
		}
		
		$person_name = new Entities\FullName;
		$person_name->first		= $this->getFirstName($gender);
		$person_name->middle	= $this->getMiddleName($gender);
		$person_name->last		= $this->getLastName();
		$person_name->gender	= $gender;
		
		return $person_name;
	}
public function getFullName ( $ gender = null ) { if ( empty ( $ gender ) ) { $ gender = $ this -> getGender ( ) ; } $ person_name = new Entities \ FullName ; $ person_name -> first = $ this -> getFirstName ( $ gender ) ; $ person_name -> middle = $ this -> getMiddleName ( $ gender ) ; $ person_name -> last = $ this -> getLastName ( ) ; $ person_name -> gender = $ gender ; return $ person_name ; }
Returns a Full Name

@param string $gender.  Will be used to make sure both First and Middle Name are for same gender.
@return \joshmoody\Mock\Entities\FullName Gender included to avoid "A Boy Named Sue".
Returns a Full Name