as in PHP method names are case insensitive, the array key should maybe converted to lower case and `getMethod()` should be adjusted to get the lower case too.