src/libs/APTitleCapitalizer.php
protected function normalizeInput($string)
	{
		$string = Stringy::create($string)->collapseWhitespace();
		$string = $this->normalizeInputPunctuation($string->__toString());
		return Stringy::create($string);
	}
protected function normalizeInput($string)
	{
		$string = Stringy::create($string)->collapseWhitespace();
		$string = $this->normalizeInputPunctuation($string->__toString());
		return Stringy::create($string);
	}
Normalises the given string, ready for capitalisation.

@param string $string

@return string