Gettext icon indicating copy to clipboard operation
Gettext copied to clipboard

Feature request: Translation factory callback as an option for extractors

Open rulatir opened this issue 8 years ago • 0 comments

Please make the extractor methods (fromString() etc.) accept a Translation factory callback as an option. This will make it possible to use a subclass of Translation efficiently.

Alternatively, provide protected function copyValueFrom(Translation $other) in Translation so that an existing Translation object can be easily copied to a subclassed object.

rulatir avatar Jun 26 '18 12:06 rulatir