/** * @param Alquiler $alquiler The alquiler object to add. */ protected function doAddAlquiler($alquiler) { $this->collAlquilers[] = $alquiler; $alquiler->setSocio($this); }