-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from LeoMoshko/bug/issues_4_Locale_should_not_h…
…ardcoded fix Locale should not be hardcoded
- Loading branch information
Showing
4 changed files
with
27 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,10 @@ Architects of this package: | |
@author Piotr Lewandowski <[email protected]> | ||
--> | ||
|
||
<container xmlns="http://symfony.com/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd"> | ||
<container xmlns="http://symfony.com/schema/dic/services" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd"> | ||
|
||
<imports> | ||
<import resource="services/**/*.xml" /> | ||
</imports> | ||
|
@@ -26,7 +29,10 @@ Architects of this package: | |
</service> | ||
|
||
<!-- Size Chart Matcher --> | ||
<service id="madcoders_sizechart.matcher.validator" class="Madcoders\SyliusSizechartPlugin\Matcher\SizeChartValidator" /> | ||
<service id="madcoders_sizechart.matcher.validator" | ||
class="Madcoders\SyliusSizechartPlugin\Matcher\SizeChartValidator"> | ||
<argument>%locale%</argument> | ||
</service> | ||
<service id="madcoders_sizechart.matcher.live_matcher" class="Madcoders\SyliusSizechartPlugin\Matcher\LiveMatcher"> | ||
<argument type="service" id="madcoders_sizechart.repository.size_chart" /> | ||
<argument type="service" id="madcoders_sizechart.matcher.validator" /> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters