标签: cakephp-3.0
如何从CakePHP 3中的控制器调用烘焙shell?
\Cake\Console\ShellDispatcher::run(array(__FILE__, 'bake'));
导致错误:Shell class for "Bake" could not be found.添加
Shell class for "Bake" could not be found.
use Bake\Shell;
在顶部会导致Shell class for "Bake" could not be found.: - (