protected function renderMethodBody($method)
    {
        $body = '{';
        $body .= '$arguments = func_get_args();';
        $body .= '$result = $this->__call(__FUNCTION__, $arguments);';

        if ($method->getReturnType() !== 'void') {
            $body .= 'return $result;';
        }

        $body .= '}';

        return $body;
    }