public static function get_styled_quotes( $style, Settings $settings ) {
		if ( isset( self::$styles[ $style ] ) ) {
			return new Simple_Quotes( self::$styles[ $style ][ self::_OPEN ], self::$styles[ $style ][ self::_CLOSE ] );
		}

		if ( self::DOUBLE_GUILLEMETS_FRENCH === $style ) {
			$space = $settings->no_break_narrow_space();

			return new Simple_Quotes( U::GUILLEMET_OPEN . $space, $space . U::GUILLEMET_CLOSE );
		}

		return null;
	}
public static function get_styled_quotes( $style, Settings $settings ) {
		if ( isset( self::$styles[ $style ] ) ) {
			return new Simple_Quotes( self::$styles[ $style ][ self::_OPEN ], self::$styles[ $style ][ self::_CLOSE ] );
		}

		if ( self::DOUBLE_GUILLEMETS_FRENCH === $style ) {
			$space = $settings->no_break_narrow_space();

			return new Simple_Quotes( U::GUILLEMET_OPEN . $space, $space . U::GUILLEMET_CLOSE );
		}

		return null;
	}
public static function get_styled_quotes ( $ style , Settings $ settings ) { if ( isset ( self :: $ styles [ $ style ] ) ) { return new Simple_Quotes ( self :: $ styles [ $ style ] [ self :: _OPEN ] , self :: $ styles [ $ style ] [ self :: _CLOSE ] ) ; } if ( self :: DOUBLE_GUILLEMETS_FRENCH === $ style ) { $ space = $ settings -> no_break_narrow_space ( ) ; return new Simple_Quotes ( U :: GUILLEMET_OPEN . $ space , $ space . U :: GUILLEMET_CLOSE ) ; } return null ; }
Creates a new Quotes object in the given style.

@param string   $style    The quote style.
@param Settings $settings The current settings.

@return Quotes|null Returns null in case of an invalid $style parameter.
Creates a new Quotes object in the given style .