Skip to content

Commit

Permalink
[MOD] update service
Browse files Browse the repository at this point in the history
  • Loading branch information
lcp0578 committed May 29, 2019
1 parent df5ba7a commit 6e84994
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Form/DataTransformer/DateTransformer.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace Kit\FormBundle\Form\DateTransformer;
namespace Kit\FormBundle\Form\DataTransformer;

use Symfony\Component\Form\DataTransformerInterface;
use Symfony\Component\Form\Exception\TransformationFailedException;
Expand Down
4 changes: 2 additions & 2 deletions Resources/config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ services:
# class: Kit\FormBundle\Example
# arguments: ["@service_id", "plain_value", "%parameter%"]
kit_form.form.data_transformer_date:
class: Kit\FormBundle\Form\DateTransformer\DateTransformer
Kit\FormBundle\Form\DateTransformer\DateTransformer: "@kit_form.data_transformer_date"
class: Kit\FormBundle\Form\DataTransformer\DateTransformer
Kit\FormBundle\Form\DataTransformer\DateTransformer: "@kit_form.form.data_transformer_date"

0 comments on commit 6e84994

Please sign in to comment.