Php Symfony添加包
我正在尝试在没有composer的情况下手动添加捆绑包,但没有成功 错误 自动加载器应为类 要在中定义的“Destination\Content\ExcelBundle\LiuggioExcelBundle” 文件“/src/\Destination\Content\ExcelBundle\LiuggioExcelBundle.php” 我的文件夹结构如下所示Php Symfony添加包,php,symfony,Php,Symfony,我正在尝试在没有composer的情况下手动添加捆绑包,但没有成功 错误 自动加载器应为类 要在中定义的“Destination\Content\ExcelBundle\LiuggioExcelBundle” 文件“/src/\Destination\Content\ExcelBundle\LiuggioExcelBundle.php” 我的文件夹结构如下所示 src\ Destination\ Content\ ExcelBundle\LiuggioExce
src\
Destination\
Content\
ExcelBundle\LiuggioExcelBundle.php
我的AppKernel
$bundles = array(
....
new Destination\Content\ExcelBundle\LiuggioExcelBundle(),
....
);
有什么想法吗?根据github:,名称空间是Liuggio\ExcelBundle
,但它应该是Destination\Content\ExcelBundle
您编辑过这个名称空间吗