Welcome Guest, Not a member yet? Register   Sign In
Should the variable type for language keywords be static or const?
#2

KISS & DRY
Your repeating yourself.
PHP Code:
public array $supportedLocales = ['en''es''fr-FR']; 

Config files only uses strings for output.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: Should the variable type for language keywords be static or const? - by InsiteFX - 11-11-2024, 11:43 PM



Theme © iAndrew 2016 - Forum software by © MyBB