public static function get_styled_dashes( $style, /** Currently unused. @scrutinizer ignore-unused */ Settings $settings ) {
		if ( isset( self::$styles[ $style ] ) ) {
			return new Simple_Dashes(
				self::$styles[ $style ][ self::_PARENTHETICAL ],
				self::$styles[ $style ][ self::_PARENTHETICAL_SPACE ],
				self::$styles[ $style ][ self::_INTERVAL ],
				self::$styles[ $style ][ self::_INTERVAL_SPACE ]
			);
		}

		return null;
	}
public static function get_styled_dashes( $style, /** Currently unused. @scrutinizer ignore-unused */ Settings $settings ) {
		if ( isset( self::$styles[ $style ] ) ) {
			return new Simple_Dashes(
				self::$styles[ $style ][ self::_PARENTHETICAL ],
				self::$styles[ $style ][ self::_PARENTHETICAL_SPACE ],
				self::$styles[ $style ][ self::_INTERVAL ],
				self::$styles[ $style ][ self::_INTERVAL_SPACE ]
			);
		}

		return null;
	}
public static function get_styled_dashes ( $ style , /** Currently unused. @scrutinizer ignore-unused */ Settings $ settings ) { if ( isset ( self :: $ styles [ $ style ] ) ) { return new Simple_Dashes ( self :: $ styles [ $ style ] [ self :: _PARENTHETICAL ] , self :: $ styles [ $ style ] [ self :: _PARENTHETICAL_SPACE ] , self :: $ styles [ $ style ] [ self :: _INTERVAL ] , self :: $ styles [ $ style ] [ self :: _INTERVAL_SPACE ] ) ; } return null ; }
Creates a new Dashes object in the given style.

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

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