createGateway()
createGateway(\Amfphp_Core_Config $config) : \Amfphp_Core_Gateway
create the gateway.
content type is recovered by looking at the GET parameter contentType. If it isn't set, it looks in the content headers.
Parameters
\Amfphp_Core_Config | $config | optional. If null, the gateway will use the default |