FILTER_SERVICE_FOLDER_PATHS
FILTER_SERVICE_FOLDER_PATHS
filter just after plugin init. Use this to add a service folder for a plugin
where everything comes together in amfphp.
The class used for the entry point of a remoting call
$config : \Amfphp_Core_Config
config.
__construct(array $getData, array $postData, String $rawInputData, String $contentType, \Amfphp_Core_Config $config)
constructor
array | $getData | typically the $_GET array. |
array | $postData | typically the $_POST array. |
String | $rawInputData | |
String | $contentType | |
\Amfphp_Core_Config | $config | optional. The default config object will be used if null |
service() : \<String>
The service method runs the gateway application. It deserializes the raw data passed into the constructor as an Amfphp_Core_Amf_Packet, handles the headers, handles the messages as requests to services, and returns the responses from the services It does not however handle output headers, gzip compression, etc. that is the job of the calling script
the serialized data