企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持知识库和私有化部署方案 广告
# 动态调用类方法 ``` <pre class="calibre29">``` $class<span class="token1">=</span><span class="token2">"Test"</span><span class="token3">;</span> $method<span class="token1">=</span><span class="token2">"demo"</span><span class="token3">;</span> <span class="token">// 动态调用插件的方法</span> $result <span class="token3">.</span><span class="token1">=</span> $class<span class="token1">-</span><span class="token1">></span>$<span class="token4">method</span><span class="token3">(</span>$data<span class="token3">)</span><span class="token3">;</span> ``` ```