Nylle/PHP-AutoMapper — pull request #1 by BillKeenan (2013-10-17 20:14:58+00:00)
Title: a fix to be specific to the class passed in when map is called, not just the property name

$mapper->CreateMap('destination::Username','sourcetype1::name');
$mapper->CreateMap('destination::SomeThingElse','sourcetype2::someproperty');

$myDestinationObject = $mapper->Map(new CSRCompletion(), $sourceObject1);
$myDestinationObject = $mapper->Map($myDestinationObject, $sourceObject2);

where sourceObject1 and sourceObject2 are different types, if they happen to have a property name in common (in my case 'name', even though I have a map saying it should be set from sourcetype1, the property Username in my destination will get set by sourceType2.