如何从cakephp2.x中的shell访问插件shell帮助程序

如何从cakephp2.x中的shell访问插件shell帮助程序,php,shell,cakephp,cakephp-2.x,Php,Shell,Cakephp,Cakephp 2.x,我在cakephp 2.10.x中构建了一个自定义插件,名为RealTime。在这个插件中,有一个shell(app/plugin/RealTime/Console/Command/RealTimeShell.php),它本身工作正常。但是,shell还在插件中使用shell帮助程序(app/plugin/RealTime/Console/helper/realtimemailshell.php),这会导致问题 我遵循了文档中的约定:,即从以下插件调用帮助程序: // Get a helper

我在cakephp 2.10.x中构建了一个自定义插件,名为RealTime。在这个插件中,有一个shell(app/plugin/RealTime/Console/Command/RealTimeShell.php),它本身工作正常。但是,shell还在插件中使用shell帮助程序(app/plugin/RealTime/Console/helper/realtimemailshell.php),这会导致问题

我遵循了文档中的约定:,即从以下插件调用帮助程序:

// Get a helper from a plugin.
$this->helper('Plugin.HelperName')->output($data);
在RealTimeShell.php中,我完成了以下工作:

$this->helper("RealTime.realTimeEmail")->output($data);
但我不断得到以下错误:
Class realtimemailshellhelper未找到

我已经尝试了不同的组合,有没有
插件。
,以及
助手名称的不同大写字母,但仍然无法正确引用插件shell助手

有人知道我做错了什么吗?如果您有任何想法,我们将不胜感激,谢谢