GetDataType(); $sDestinationDataType = $oDestinationIO->GetDataType(); if (!$oDestinationIO->IsCompatibleWith($oSourceIO)) { throw new FormBlockIOException('binding '.json_encode($sSourceDataType).' to '.json_encode($sDestinationDataType).' is not supported'); } $this->oDestinationIO = $oDestinationIO; $this->oSourceIO = $oSourceIO; $oDestinationIO->Attach($this); } /** * Propagate binding values. * * @return void */ public function PropagateValues(): void { $this->oDestinationIO->SetValues($this->oSourceIO->GetValues()); $this->oDestinationIO->GetOwnerBlock()->BindingReceivedEvent($this->oDestinationIO); } }