private function convertTypeToMethod($type)
    {
        $parts = explode('.', str_replace(['-', '_'], '.', $type));
        $parts = array_map('ucfirst', $parts);

        return implode('', $parts);
    }