src/PlaygroundCore/View/Helper/SwitchLocaleWidget.php 1 location
|
@@ 58-64 (lines=7) @@
|
55 |
|
* |
56 |
|
* @return Service/Locale $localeService |
57 |
|
*/ |
58 |
|
public function getLocaleService() |
59 |
|
{ |
60 |
|
if ($this->localeService === null) { |
61 |
|
$this->localeService = $this->getServiceLocator()->get('playgroundcore_locale_service'); |
62 |
|
} |
63 |
|
return $this->localeService; |
64 |
|
} |
65 |
|
|
66 |
|
/** |
67 |
|
* setLocaleService : set le service locale |
src/PlaygroundCore/Controller/Admin/WebsiteController.php 1 location
|
@@ 86-93 (lines=8) @@
|
83 |
|
return $this; |
84 |
|
} |
85 |
|
|
86 |
|
public function getLocaleService() |
87 |
|
{ |
88 |
|
if (null === $this->localeService) { |
89 |
|
$this->localeService = $this->getServiceLocator()->get('playgroundcore_locale_service'); |
90 |
|
} |
91 |
|
|
92 |
|
return $this->localeService; |
93 |
|
} |
94 |
|
|
95 |
|
public function setLocaleService($localeService) |
96 |
|
{ |