/** * @param $parts * @dataProvider identifierPartsProvider */ public function testFormatUpperHyphenWithAcronyms($parts) { $this->assertSame('An-Identifier1-ACRNM', Formatter::formatUpperHyphenWithAcronyms($parts)); }
public static function convert($identifier, $sourceFormat, $outputFormat) { $parts = Parser::parse($identifier, $sourceFormat); return Formatter::format($parts, $outputFormat); }