Skip to content
New issue

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

PhpFileExtractor: Add $defaultDomain variable instead of hard coded #427

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nicolas-bastien
Copy link

@nicolas-bastien nicolas-bastien commented Jan 17, 2017

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License Apache2

Description

Add $defaultDomain variable instead of hard coded 'messages' string to ease extension.

This allow developer to extend DefaultPhpFileExtractor to extract to custom domain.

ex : https://github.com/ezsystems/ezpublish-kernel/blob/master/eZ/Publish/Core/MVC/Symfony/Translation/ExceptionMessageTemplateFileVisitor.php

Todos

  • Changelog

@nicolas-bastien
Copy link
Author

@bdunogier I guess you gonna need this one ;-)

@bdunogier
Copy link

+1, we could really use that :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants