mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 21:34:25 +00:00
rename deprecated Symfony using
This commit is contained in:
parent
43b0bfa369
commit
d8a9881e63
@ -4,7 +4,7 @@ namespace Chill\PersonBundle\Form\DataTransformer;
|
|||||||
|
|
||||||
use Symfony\Component\Form\DataTransformerInterface;
|
use Symfony\Component\Form\DataTransformerInterface;
|
||||||
use Symfony\Component\Form\Exception\TransformationFailedException;
|
use Symfony\Component\Form\Exception\TransformationFailedException;
|
||||||
use Doctrine\Common\Persistence\ObjectManager;
|
use Doctrine\Persistence\ObjectManager;
|
||||||
use Chill\PersonBundle\Entity\Person;
|
use Chill\PersonBundle\Entity\Person;
|
||||||
|
|
||||||
class PersonToIdTransformer implements DataTransformerInterface
|
class PersonToIdTransformer implements DataTransformerInterface
|
||||||
|
@ -19,7 +19,7 @@ namespace Chill\PersonBundle\Menu;
|
|||||||
|
|
||||||
use Chill\MainBundle\Routing\LocalMenuBuilderInterface;
|
use Chill\MainBundle\Routing\LocalMenuBuilderInterface;
|
||||||
use Knp\Menu\MenuItem;
|
use Knp\Menu\MenuItem;
|
||||||
use Symfony\Component\Translation\TranslatorInterface;
|
use Symfony\Contracts\Translation\TranslatorInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add menu entrie to person menu.
|
* Add menu entrie to person menu.
|
||||||
|
@ -15,6 +15,6 @@ services:
|
|||||||
Chill\PersonBundle\Menu\PersonMenuBuilder:
|
Chill\PersonBundle\Menu\PersonMenuBuilder:
|
||||||
arguments:
|
arguments:
|
||||||
$showAccompanyingPeriod: '%chill_person.accompanying_period%'
|
$showAccompanyingPeriod: '%chill_person.accompanying_period%'
|
||||||
$translator: '@Symfony\Component\Translation\TranslatorInterface'
|
$translator: '@Symfony\Contracts\Translation\TranslatorInterface'
|
||||||
tags:
|
tags:
|
||||||
- { name: 'chill.menu_builder' }
|
- { name: 'chill.menu_builder' }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user