/** * @param Socio $socio The socio object to add. */ protected function doAddSocio($socio) { $this->collSocios[] = $socio; $socio->setTipoSocio($this); }