We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Translations::download method is currently handling transformation here and it shouldn't.
Translations::download
We can move this responsibility to a namespace Parsers. Here's a rough idea.
Parsers
TwentySixB\Translations\Parsers\{$format}
$downloads
$config
parse
Given the existing example
https://github.com/26B/translation-helper/blob/fd960eb1fb34ae85637e669f27465891e7baa811/lib/Translations.php#L42
This method's logic
https://github.com/26B/translation-helper/blob/fd960eb1fb34ae85637e669f27465891e7baa811/lib/Translations.php#L101
would be refactored into TwentySixB\Translations\Parsers\Jed::parse
TwentySixB\Translations\Parsers\Jed::parse
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
The
Translations::download
method is currently handling transformation here and it shouldn't.We can move this responsibility to a namespace
Parsers
. Here's a rough idea.TwentySixB\Translations\Parsers\{$format}
class exists.$downloads
,$config
.parse
method.Given the existing example
https://github.com/26B/translation-helper/blob/fd960eb1fb34ae85637e669f27465891e7baa811/lib/Translations.php#L42
This method's logic
https://github.com/26B/translation-helper/blob/fd960eb1fb34ae85637e669f27465891e7baa811/lib/Translations.php#L101
would be refactored into
TwentySixB\Translations\Parsers\Jed::parse
The text was updated successfully, but these errors were encountered: