public function __construct($name)
    {
        $this->name = $name;
    }
}
class UserDTO
{
    public $name;
    public $age = "default value of ignored member";
}
class MappingConfiguration implements MappingConfigurationInterface
{
    public function configure(MappingConfigurationContext $context)
    {
        $context->createMap('Papper\\Examples\\Configure\\User', 'Papper\\Examples\\Configure\\UserDTO')->forMember('age', new Ignore());
    }
}
Papper::configureMapping(new MappingConfiguration());
/** @var UserDTO $userDTO */
$userDTO = Papper::map(new User('John Smith'))->toType('Papper\\Examples\\Configure\\UserDTO');
print_r($userDTO);
/*
 * The above example will output:
 *
 * Papper\Examples\Configure\UserDTO Object
 * (
 *     [name] => John Smith
 *     [age] => default value of ignored member
 * )
 *
 */