public function getApartment()
	{
		$types = ['Apt.', 'Apartment', 'Ste.', 'Suite', 'Box'];

		// @codeCoverageIgnoreStart
		if ($this->getBool(true, false)) {
			$extra = $this->getLetter();
		} else {
			$extra = $this->getInteger(1, 9999);
		}
		// @codeCoverageIgnoreEnd

		$type = $this->fromArray($types);
		return $type . ' ' . $extra;
	}
public function getApartment()
	{
		$types = ['Apt.', 'Apartment', 'Ste.', 'Suite', 'Box'];

		// @codeCoverageIgnoreStart
		if ($this->getBool(true, false)) {
			$extra = $this->getLetter();
		} else {
			$extra = $this->getInteger(1, 9999);
		}
		// @codeCoverageIgnoreEnd

		$type = $this->fromArray($types);
		return $type . ' ' . $extra;
	}
public function getApartment ( ) { $ types = [ 'Apt.' , 'Apartment' , 'Ste.' , 'Suite' , 'Box' ] ; // @codeCoverageIgnoreStart if ( $ this -> getBool ( true , false ) ) { $ extra = $ this -> getLetter ( ) ; } else { $ extra = $ this -> getInteger ( 1 , 9999 ) ; } // @codeCoverageIgnoreEnd $ type = $ this -> fromArray ( $ types ) ; return $ type . ' ' . $ extra ; }
Get an apartment number.

@return string
Get an apartment number .