protected function processLastWordInParts(array $parts)
	{
		$parts = array_reverse($parts);
		$length = count($parts);
		for ($index = 0; $index < $length; $index++) {
			$part = $parts[$index];
			if ($this->isWordLike($part)) {
				$parts[$index] = $this->processFirstLastWord($part);
				break;
			}
		}
		return array_reverse($parts);
	}
protected function processLastWordInParts(array $parts)
	{
		$parts = array_reverse($parts);
		$length = count($parts);
		for ($index = 0; $index < $length; $index++) {
			$part = $parts[$index];
			if ($this->isWordLike($part)) {
				$parts[$index] = $this->processFirstLastWord($part);
				break;
			}
		}
		return array_reverse($parts);
	}
protected function processLastWordInParts ( array $ parts ) { $ parts = array_reverse ( $ parts ) ; $ length = count ( $ parts ) ; for ( $ index = 0 ; $ index < $ length ; $ index ++ ) { $ part = $ parts [ $ index ] ; if ( $ this -> isWordLike ( $ part ) ) { $ parts [ $ index ] = $ this -> processFirstLastWord ( $ part ) ; break ; } } return array_reverse ( $ parts ) ; }
Processes the last word-like item in the given array of parts.

@param array $parts

@return array
Processes the last word - like item in the given array of parts .