Symfony Add Bundle

Brent

I am trying to add a bundle manually without composer but with out any success.

Error

The autoloader expected class "Destination\Content\ExcelBundle\LiuggioExcelBundle" to be defined in file "/src/\Destination\Content\ExcelBundle\LiuggioExcelBundle.php"

My folder structure looks like the following.

src\
   Destination\
      Content\
         ExcelBundle\LiuggioExcelBundle.php

My AppKernel

$bundles = array(
            ....
            new Destination\Content\ExcelBundle\LiuggioExcelBundle(),
            ....
        );

Any ideas?

Divi

According to the github : https://github.com/liuggio/ExcelBundle/blob/master/LiuggioExcelBundle.php#L3, the namespace is Liuggio\ExcelBundle but it should be Destination\Content\ExcelBundle.

Have you edited this namespace ?

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related