Ver Mensaje Individual
  #2 (permalink)  
Antiguo 26/03/2018, 19:03
X_fran
 
Fecha de Ingreso: octubre-2007
Mensajes: 273
Antigüedad: 16 años, 6 meses
Puntos: 5
Respuesta: Symfony + mongodb con campo missing

Se me ocurre algo como:
Cita:
public function getPropiedad(){
If(is_null($this->propiedad)){
return array();
}else{
return $this->propiedad;
}
}