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:
@@ -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', []);
|
||||
|
Reference in New Issue
Block a user