You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Took me a while to figure out what @ogizanagi meant (I'm a beginner), but yes I agree... removing all mentions of use Symfony\Bundle\FrameworkBundle\Controller\Controller; and extends controller from the LuckyClass for the first five sample codes on the page_creation site would make the learning process a bit easier for those new to Symfony like myself.
…ng it (ogizanagi)
This PR was merged into the 2.3 branch.
Discussion
----------
[Book] Do not extend the base controller before introducing it
| Q | A
| ------------- | ---
| Doc fix? | yes
| New docs? | no
| Applies to | 2.3+
| Fixed tickets | #5969
Commits
-------
98c4525 [Book] Do not extend the base controller before introducing it
In the example on
http://symfony.com/doc/current/book/page_creation.html#rendering-a-template-with-the-service-container
It says
// --> add this new use statement
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
When it's not a new use statement. I'm a beginner reading through the docs, but I think it's the wrong use statement.
The text was updated successfully, but these errors were encountered: