* @param array $funcDesc as generated by self::introspectFunction()
*
* @return array
- *
- * @todo missing parameters
*/
protected function buildMethodSignatures($funcDesc)
{
);
}
- /// @todo use namespace, options to encode/decode objects, validate params
+ /**
+ * Creates a closure that will execute $callable
+ * @todo use namespace, options to encode/decode objects, validate params
+ *
+ * @param $callable
+ * @param array $extraOptions
+ * @param string $plainFuncName
+ * @param string $funcDesc
+ * @return callable
+ */
protected function buildWrapFunctionClosure($callable, $extraOptions, $plainFuncName, $funcDesc)
{
$function = function($req) use($callable, $extraOptions)
* @return array or false on failure
*
* @todo get_class_methods will return both static and non-static methods.
- * we have to differentiate the action, depending on wheter we recived a class name or object
+ * we have to differentiate the action, depending on whether we received a class name or object
*/
public function wrap_php_class($classname, $extraOptions = array())
{
'encode_php_objs' => $encodePhpObjects, 'prefix' => $prefix,
'decode_php_objs' => $decodePhpObjects,
);
- /// @todo build javadoc for class definition, too
+ /// @todo build phpdoc for class definition, too
foreach ($mlist as $mname) {
if ($methodfilter == '' || preg_match($methodfilter, $mname)) {
$opts['new_function_name'] = preg_replace(array('/\./', '/[^a-zA-Z0-9_\x7f-\xff]/'),