getLocales() public method

Gets the available locales.
public getLocales ( ) : array
return array the available locales
Esempio n. 1
0
 public function testGetLocales()
 {
     $crudServiceProvider = new ServiceProvider();
     $expected = ['de', 'el', 'en'];
     $read = $crudServiceProvider->getLocales();
     $this->assertSame($read, $expected);
 }