Friday, 15 May 2015

php - Symfony Add Bundle -



php - Symfony Add Bundle -

i trying add together bundle manually without composer out success.

error

the autoloader expected class "destination\content\excelbundle\liuggioexcelbundle" defined in file "/src/\destination\content\excelbundle\liuggioexcelbundle.php"

my folder construction looks following.

src\ destination\ content\ excelbundle\liuggioexcelbundle.php

my appkernel

$bundles = array( .... new destination\content\excelbundle\liuggioexcelbundle(), .... );

any ideas?

according github : https://github.com/liuggio/excelbundle/blob/master/liuggioexcelbundle.php#l3, namespace liuggio\excelbundle should destination\content\excelbundle.

have edited namespace ?

php symfony2

No comments:

Post a Comment