Skip to content

Instantly share code, notes, and snippets.

Neylson neylsongularte

Block or report user

Report or block neylsongularte

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:88cccb8e9e6f304af611
public function __get($nomeDoAtributo){
$nomeDoAtributoNoRepositorio = Configuracoes::getConfiguracoesDeCamposDasLeituras()[$nomeDoAtributo][$this->getEstacaoMeteorologicaId()];
if(is_array($nomeDoAtributoNoRepositorio)){
foreach($nomeDoAtributoNoRepositorio as $nomeDoAtributo){
$valorDoAtributo = $this->getValorDoAtributo($nomeDoAtributoNoRepositorio);
}
} else if(is_string($nomeDoAtributoNoRepositorio)){
$valorDoAtributo = $this->getValorDoAtributo($nomeDoAtributoNoRepositorio);
} else {
You can’t perform that action at this time.