1 | <?php |
||
22 | class LoadTranslationData implements FixtureInterface, ContainerAwareInterface, OrderedFixtureInterface |
||
23 | { |
||
24 | /** |
||
25 | * System container. |
||
26 | * |
||
27 | * @var ContainerInterface |
||
28 | */ |
||
29 | private $container; |
||
30 | |||
31 | /** |
||
32 | * Entity manager. |
||
33 | * |
||
34 | * @var ObjectManager |
||
35 | */ |
||
36 | private $manager; |
||
37 | |||
38 | /** |
||
39 | * {@inheritDoc} |
||
40 | */ |
||
41 | 7 | public function setContainer(ContainerInterface $container = null) |
|
45 | |||
46 | /** |
||
47 | * {@inheritDoc} |
||
48 | */ |
||
49 | 7 | public function load(ObjectManager $manager) |
|
61 | |||
62 | 7 | private function addTranslation(String $key, Language $language, String $translationText, String $domain = 'messages') |
|
72 | |||
73 | /** |
||
74 | * {@inheritdoc} |
||
75 | */ |
||
76 | 7 | public function getOrder() |
|
80 | } |
||
81 |