protected function do_hyphenate( array $tokens, Settings $settings, $hyphen = U::SOFT_HYPHEN ) {
		if ( empty( $settings['hyphenMinLength'] ) || empty( $settings['hyphenMinBefore'] ) ) {
			return $tokens;
		}

		return $this->get_hyphenator( $settings )->hyphenate( $tokens, $hyphen, ! empty( $settings['hyphenateTitleCase'] ), $settings['hyphenMinLength'], $settings['hyphenMinBefore'], $settings['hyphenMinAfter'] );
	}
protected function do_hyphenate( array $tokens, Settings $settings, $hyphen = U::SOFT_HYPHEN ) {
		if ( empty( $settings['hyphenMinLength'] ) || empty( $settings['hyphenMinBefore'] ) ) {
			return $tokens;
		}

		return $this->get_hyphenator( $settings )->hyphenate( $tokens, $hyphen, ! empty( $settings['hyphenateTitleCase'] ), $settings['hyphenMinLength'], $settings['hyphenMinBefore'], $settings['hyphenMinAfter'] );
	}
protected function do_hyphenate ( array $ tokens , Settings $ settings , $ hyphen = U :: SOFT_HYPHEN ) { if ( empty ( $ settings [ 'hyphenMinLength' ] ) || empty ( $ settings [ 'hyphenMinBefore' ] ) ) { return $ tokens ; } return $ this -> get_hyphenator ( $ settings ) -> hyphenate ( $ tokens , $ hyphen , ! empty ( $ settings [ 'hyphenateTitleCase' ] ) , $ settings [ 'hyphenMinLength' ] , $ settings [ 'hyphenMinBefore' ] , $ settings [ 'hyphenMinAfter' ] ) ; }
Really hyphenates given text fragment.

@param Token[]  $tokens Filtered to words.
@param Settings $settings           The settings to apply.
@param string   $hyphen             Hyphenation character. Optional. Default is the soft hyphen character (`&shy;`).

@return Token[] The hyphenated text tokens.
Really hyphenates given text fragment .