diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index 27d1bd8..d962bf0 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -1,6 +1,6 @@ registerPrefixes(array( - 'Twig_Extensions_' => __DIR__.'/../vendor/twig-extensions/lib', - 'Twig_' => __DIR__.'/../vendor/twig/lib', - // ... - 'PHPExcel' => __DIR__.'/../vendor/phpexcel/lib/PHPExcel/Classes', - )); -``` - ## AVAILABLE SERVICES @@ -171,7 +160,7 @@ class DefaultController extends Controller ## ADVANCED USE -if you need see and modify ``liuggio\ExcelBundle\Resources\config\services.yml`` +if you need see and modify ``Liuggio\ExcelBundle\Resources\config\services.yml`` ## Contributors diff --git a/Resources/config/services.yml b/Resources/config/services.yml index 3f24b9c..b92af7b 100644 --- a/Resources/config/services.yml +++ b/Resources/config/services.yml @@ -7,7 +7,7 @@ parameters: xls.factory2007.method: "PHPExcel_Writer_Excel2007" xls.factoryPDF.method: "PHPExcel_Writer_PDF" xls.factory.write_method: "save" - xls.service.class: liuggio\ExcelBundle\Service\ExcelContainer + xls.service.class: Liuggio\ExcelBundle\Service\ExcelContainer services: xls.phpexcel: diff --git a/Resources/doc/index.rst b/Resources/doc/index.rst index 29964d3..f6ac38e 100644 --- a/Resources/doc/index.rst +++ b/Resources/doc/index.rst @@ -24,16 +24,16 @@ With PHPExcel you can create: xls, ods, pdf and more. ``` yaml [n3bStreamresponse] - git=https://github.com/liuggio/Symfony2-StreamResponse.git + git=https://github.com/Liuggio/Symfony2-StreamResponse.git target=n3b/src/n3b/Bundle/Util/HttpFoundation/StreamResponse [phpExcel] - git=https://github.com/liuggio/PHPExcel.git + git=https://github.com/Liuggio/PHPExcel.git target=phpexcel -[liuggioExcelBundle] - git=http://github.com/liuggio/ExcelBundle.git - target=/bundles/liuggio/ExcelBundle +[LiuggioExcelBundle] + git=http://github.com/Liuggio/ExcelBundle.git + target=/bundles/Liuggio/ExcelBundle ``` 2 Register the bundle in ``app/AppKernel.php`` @@ -41,7 +41,7 @@ With PHPExcel you can create: xls, ods, pdf and more. ``` php $bundles = array( // ... - new liuggio\ExcelBundle\liuggioExcelBundle(), + new Liuggio\ExcelBundle\LiuggioExcelBundle(), ); ``` @@ -52,7 +52,7 @@ With PHPExcel you can create: xls, ods, pdf and more. // ... 'n3b\\Bundle\\Util\\HttpFoundation\\StreamResponse' => __DIR__.'/../vendor/n3b/src', - 'liuggio' => __DIR__.'/../vendor/bundles', + 'Liuggio' => __DIR__.'/../vendor/bundles', )); ``` @@ -152,7 +152,7 @@ class DefaultController extends Controller ## ADVANCED USE -if you need see and modify ``liuggio\ExcelBundle\Resources\config\services.yml`` +if you need see and modify ``Liuggio\ExcelBundle\Resources\config\services.yml`` ## Contributors diff --git a/Service/ExcelContainer.php b/Service/ExcelContainer.php index 9891b3b..b98111f 100644 --- a/Service/ExcelContainer.php +++ b/Service/ExcelContainer.php @@ -1,6 +1,6 @@