Since $configs is declared private, accessing it with static will lead to errors in possible sub-classes; you can either use self, or increase the visibility of $configs to at least protected.
Loading history...
15
}
16
17
/**
18
* Retorna uma configuração
19
* @param string $key Nome da configuração
20
* @param string $default Valor default, caso esta configuração esteja em branco
21
*/
22
final public static function get($key, $default = '') {
Since $configs is declared private, accessing it with static will lead to errors in possible sub-classes; you can either use self, or increase the visibility of $configs to at least protected.