Return a fake street name.

@return string
331726
public static function streetName()
    {
        $format = static::$streetNameFormats[array_rand(static::$streetNameFormats)];

        $parts = array();
        foreach ($format['parts'] as $function) {
            $parts[] = call_user_func($function);
        }

        return vsprintf($format['format'], $parts);
    }
473589
public function getDisplayName()
    {
        $data = array_filter([
            $this->get(self::PROPERTY_FIRSTNAME),
            $this->get(self::PROPERTY_LASTNAME),
        ]);

        return implode(' ', $data);
    }
656056
public function getName() {
		if ($this->_name === null) {
			$name = get_class($this);
			$pos = strrpos($name, '\\');
			if ($pos !== false) {
				$name = substr($name, $pos + 1);
			}
			if (preg_match('/^Twig([A-Za-z]+)Extension$/', $name, $matches)) {
				$name = $matches[1];
			}
			$this->_name = strtolower(preg_replace('/([a-z])([A-Z])/', '$1_$2', $name));
		}
		return $this->_name;
	}
1318785
public function getStudlyPhpName()
    {
        $phpname = $this->getPhpName();
        if (strlen($phpname) > 1) {
            return strtolower(substr($phpname, 0, 1)) . substr($phpname, 1);
        } else { // 0 or 1 chars (I suppose that's rare)

            return strtolower($phpname);
        }
    }
680223
public function getStreet($address, $klarna = false)
    {
        if (empty($address)) {
            return false;
        }

        $street = $this->formatStreet($address->getStreet(), $klarna);
        $streetName = $street['0'];
        unset($street['0']);
//        $streetNr = implode('',$street);
        $streetNr = implode(' ', $street);

        return new Varien_Object(array('name' => trim($streetName), 'house_number' => trim($streetNr)));
    }
538169
public function getName()
    {
        $ref = new \ReflectionObject($this);
        $name = $ref->getNamespaceName();
        $name = rtrim($name, '\\');

        return str_replace('\\', '_', strtolower($name));
    }
838806
public function getFullStreet()
    {
        if (empty($this->street)) {
            return '';
        }

        $numbers = $this->buildingNumber;

        if (!empty($numbers) && !empty($this->flatNumber)) {
            $numbers = sprintf('%s/%s', $numbers, $this->flatNumber);
        }

        return sprintf('%s %s', $this->street, $numbers);
    }
1172100
public function ToString()
	{
		$result = $this->LocalName;

		if ( ! empty( $this->Prefix ) )
		{
		    $result = $this->Prefix . ':' . $result;
		}
		return $result;
	}
277608
public function getRouteIdentifierPrefix()
    {
        if ($this->routeIdentifierPrefix === null) {
            $this->routeIdentifierPrefix = strtolower($this->getModuleNamespace() . '/' . $this->getClassNameWithoutNamespace());
        }
        return $this->routeIdentifierPrefix;
    }
880895
public function getSafeFileName()
    {
        $fileExtension = pathinfo($this->file->getClientOriginalName(), PATHINFO_EXTENSION);
        $mimeTypeExtension = $this->file->guessExtension();
        $newExtension = !empty($mimeTypeExtension) ? $mimeTypeExtension : $fileExtension;

        $baseName = !empty($fileExtension) ? basename($this->file->getClientOriginalName(), $fileExtension) : $this->file->getClientOriginalName();
        $safeBaseName = Transliterator::urlize($baseName);

        return $safeBaseName . (!empty($newExtension) ? '.' . $newExtension : '');
    }
849960
public function getFormOfAddress()
    {
        if ($this->getGender() === self::GENDER_MALE && $this->getLastName()) {
            return 'Herr '.$this->getFirstName().' '.$this->getLastName();
        } elseif ($this->getGender() === self::GENDER_FEMALE && $this->getLastName()) {
            return 'Frau '.$this->getFirstName().' '.$this->getLastName();
        }

        return '';
    }
975198
public function getName()
	{
		$strName = parent::getName();
		if (empty($strName)) {
			$strName = $this->__name = $this->__generateName();
		}

		return $strName;
	}
942374
public function getMiddleName() : ?string 
    {
        if ( ! $this->hasMiddleName()) {
            $this->setMiddleName($this->getDefaultMiddleName());
        }
        return $this->middleName;
    }
201723
protected function validateCityAddress()
    {
        $field = 'city_id';

        if ($this->isExcluded($field) || $this->isError('country')) {
            return null;
        }

        $value = $this->getSubmitted($field);

        if ($this->isUpdating() && !isset($value)) {
            $this->unsetSubmitted($field);
            return null;
        }

        $label = $this->translation->text('City');
        $format = $this->getCountryFormatAddress();

        if (empty($value) && !empty($format['city_id']['required'])) {
            $this->setErrorRequired($field, $label);
            return false;
        }

        // City ID can be either numeric ID or non-numeric human name
        if (is_numeric($value)) {
            if ($this->city->get($value)) {
                return true;
            }
            $this->setErrorUnavailable($field, $label);
            return false;
        }

        if (empty($value)) {
            return true;
        }

        if (mb_strlen($value) > 255) {
            $this->setErrorLengthRange($field, $label);
            return false;
        }

        // Try to convert human name to a numeric ID
        $country = $this->getSubmitted('country');
        $state_id = $this->getSubmitted('state_id');

        if (empty($country) || empty($state_id)) {
            return true;
        }

        $conditions = array(
            'name' => $value,
            'country' => $country,
            'state_id' => $state_id
        );

        foreach ((array) $this->city->getList($conditions) as $city) {
            if (strcasecmp($city['name'], $value) === 0) {
                $this->setSubmitted($field, $city['city_id']);
                break;
            }
        }

        return true;
    }
960693
public function getContactName()
    {
        $name = false;
        $lastNames = false;

        if ($this->getContact()) {
            $name = $this->getContact()->getName();
            $lastNames = $this->getContact()->getLastNames();
        }

        if ($name == false && $lastNames == false) {
            return $this->getUsername();
        }

        return trim($name.' '.$lastNames);
    }
685872
private function getName() {
		if($this->name === false) {
			$this->name = $this->pre . $this->getTime() . '_' . md5(mt_rand()) . $this->suf . '.' . $this->ext;
		}
		return $this->name;
	}
653644
public function getRealName() {
		if($this->firstname || $this->surname) {
			return trim($this->getFirstname() . ' ' . $this->getSurname());
		}
		return null;
	}