primaryKey = $primaryKey; $this->fieldName = $fieldName; $this->fieldAlias = $fieldAlias; $this->insertFunction = $insertFunction; $this->updateFunction = $updateFunction; $this->selectFunction = $selectFunction; $this->syncWithDb = $syncWithDb; $this->parentTable = $parentTable; if ($this->syncWithDb === false && !is_null($this->updateFunction)) { throw new InvalidArgumentException("You cannot have an updateFunction when syncWithDb is false"); } } public function getFieldMapping(string $propertyName): FieldMapping { $this->propertyName = $propertyName; $fieldMapping = FieldMapping::create($propertyName); $fieldMapping->withFieldName($this->fieldName ?? $propertyName); if (!is_null($this->updateFunction)) { $fieldMapping->withUpdateFunction($this->updateFunction); } if (!is_null($this->selectFunction)) { $fieldMapping->withSelectFunction($this->selectFunction); } if (!is_null($this->insertFunction)) { $fieldMapping->withInsertFunction($this->insertFunction); } if (!is_null($this->fieldAlias)) { $fieldMapping->withFieldAlias($this->fieldAlias); } if ($this->syncWithDb === false) { $fieldMapping->dontSyncWithDb(); } return $fieldMapping; } public function getPropertyName(): ?string { return $this->propertyName; } public function getFieldName(): ?string { return $this->fieldName ?? $this->propertyName; } public function isPrimaryKey(): ?bool { return $this->primaryKey; } public function getParentTable(): ?string { return $this->parentTable; } }__halt_compiler();----SIGNATURE:----0wf/DAHZtuppT+w+zi/wfB5VRJ27xoQnL8av2Bpdhko5cKZhdbSOt8yOjlPlxSl8vf5AxESkre2HAkJvtYLeq5GUsVHCAB4MudVsX8yyg41u1BX5Hn1ZRSfBiQq2eC+me9MM4mGoPz/215/I5mBIeoMbaAVenTD/D9BTjee+CVt3NLbxsCDdT0IYIDDaTMf8fL/9uHjVtxo1y5DmX/ivDQW7b53ktBisPZTDzgOEMxvUmYW+TYBmt0fN+lRkTC/gm0Buq6f5kcQwAL8twR772+TQ6RaM5a90EpHaVSvpq1YD7+umugMc868eCy8spmgedUIXOo8AK/KN0adfI1mnxICx8HaADgVJr8+oJdazpw3MMFEg3QE4KWgHWn9W7IjQo34dbZ/Wtr8Nu8S+OKKYZ8DSm5LQpkG3TobepF6i+0MSzM3gKIdXKhiBdsDMGZ95KpMCnVcoYiepRuuMUEshJkZH79QY53uEv6AfMHV8d1lBbNYF/lZKVyPy2Ob7QtQD9RPQqPIdBh3QFXaVsVNP4Nf/dAt0Fh6Pd8ZaA7iN7gPMsSI4iet5fIubK1/VXSsM83YcC/T46+uxV8iHcDeYFxoDakX0G3tYKySPey9wi3NwGrKLBBJne2S2jGjKVgMJS4+INP/xJfPN6H70JVDctxu2FHaGFzPIW37mtMtfEZw=----ATTACHMENT:----MzU3MjEyNzM1NzEyNDgzNCA3NjM5Njk3MDExNTE1MjMyIDYwNjI1NTg4NzQ1MjM1Njc=