protected function mergeProperty(Result $otherResult, string $getterName, string $adderName)
    {
        foreach ($otherResult->$getterName() as $messageInOtherResult) {
            $this->$adderName($messageInOtherResult);
        }
    }
protected function mergeProperty(Result $otherResult, string $getterName, string $adderName)
    {
        foreach ($otherResult->$getterName() as $messageInOtherResult) {
            $this->$adderName($messageInOtherResult);
        }
    }
protected function mergeProperty ( Result $ otherResult , string $ getterName , string $ adderName ) { foreach ( $ otherResult -> $ getterName ( ) as $ messageInOtherResult ) { $ this -> $ adderName ( $ messageInOtherResult ) ; } }
Merge a single property from the other result object.

@param Result $otherResult
@param string $getterName
@param string $adderName
@return void
Merge a single property from the other result object .