private function evaluateSetters(
        ParameterBag $attributes,
        $entity,
        array $setters
    ) {
        foreach ($setters as $method => $value) {
            $entity->$method($attributes->get($value));
        }
    }