public static function getSetMethod($object, $name)
    {
        $methodName = 'set' . self::camelize($name);

        if (!method_exists($object, $methodName)) {
            throw new Exception(sprintf('The set method for parameter %s is missing', $name));
        }

        return $methodName;
    }