/** * @param Expediente $expediente The expediente object to add. */ protected function doAddExpediente($expediente) { $this->collExpedientes[] = $expediente; $expediente->setCliente($this); }