1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-15 09:34:14 +02:00

Flextype: Plugins - getLocales() method added

This commit is contained in:
Awilum
2019-04-19 10:52:10 +03:00
parent 66ba345aeb
commit d1f833409b

View File

@@ -41,13 +41,18 @@ class Plugins
$this->init($flextype, $app);
}
public function getLocales()
{
return $this->locales;
}
/**
* Init Plugins
*
* @access private
* @return void
*/
private function init($flextype, $app) : void
public function init($flextype, $app) : void
{
// Set empty plugins item
$this->flextype['registry']->set('plugins', []);