public function toCapitalCaseWords() {
		$encoding = $this->encoding;
		return $this->split(' ')->map(function ($str) use ($encoding) {
			return Text::create($str, $encoding)->toCapitalCase();
		})->join(' ');
	}
public function toCapitalCaseWords() {
		$encoding = $this->encoding;
		return $this->split(' ')->map(function ($str) use ($encoding) {
			return Text::create($str, $encoding)->toCapitalCase();
		})->join(' ');
	}
public function toCapitalCaseWords ( ) { $ encoding = $ this -> encoding ; return $ this -> split ( ' ' ) -> map ( function ( $ str ) use ( $ encoding ) { return Text :: create ( $ str , $ encoding ) -> toCapitalCase ( ) ; } ) -> join ( ' ' ) ; }
Transforms the string with the words capitalized.

@return Text
Transforms the string with the words capitalized .