Classes/Address.php
public static function streetAddress($withSecondary = false)
    {
        $formats = array('##### %s', '#### %s', '### %s');
        shuffle($formats);
        $streetAddress = static::numerify(sprintf(current($formats), static::streetName()));
        if ($withSecondary) {
            $streetAddress .= ' ' . static::secondaryAddress();
        }

        return $streetAddress;
    }
public static function streetAddress($withSecondary = false)
    {
        $formats = array('##### %s', '#### %s', '### %s');
        shuffle($formats);
        $streetAddress = static::numerify(sprintf(current($formats), static::streetName()));
        if ($withSecondary) {
            $streetAddress .= ' ' . static::secondaryAddress();
        }

        return $streetAddress;
    }
public static function streetAddress ( $ withSecondary = false ) { $ formats = array ( '##### %s' , '#### %s' , '### %s' ) ; shuffle ( $ formats ) ; $ streetAddress = static :: numerify ( sprintf ( current ( $ formats ) , static :: streetName ( ) ) ) ; if ( $ withSecondary ) { $ streetAddress .= ' ' . static :: secondaryAddress ( ) ; } return $ streetAddress ; }
Return a fake street address.

@param boolean $withSecondary Whether to include Apt/Suite in the address
@return string
Return a fake street address .