From 98a8081526115449b004f5b024ed470610eb2dec Mon Sep 17 00:00:00 2001 From: moon-watcher Date: Tue, 16 Jan 2018 00:55:59 +0100 Subject: [PATCH] Update bundles.rst I needed to add those modifications for the bundle creation to work --- bundles.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bundles.rst b/bundles.rst index 6590a54b5ad..3ef6ceba816 100644 --- a/bundles.rst +++ b/bundles.rst @@ -53,7 +53,7 @@ Start by creating a ``src/Acme/TestBundle/`` directory and adding a new file called ``AcmeTestBundle.php``:: // src/Acme/TestBundle/AcmeTestBundle.php - namespace Acme\TestBundle; + namespace App\Acme\TestBundle; use Symfony\Component\HttpKernel\Bundle\Bundle; @@ -75,7 +75,7 @@ of the bundle. Now that you've created the bundle, enable it:: // config/bundles.php return [ // ... - Acme\TestBundle\AcmeTestBundle::class => ['all' => true], + App\Acme\TestBundle\AcmeTestBundle::class => ['all' => true], ]; And while it doesn't do anything yet, AcmeTestBundle is now ready to be used.