Skip to content
5.4
Switch branches/tags
Code

Latest commit

This PR was merged into the 5.4 branch.

Discussion
----------

Update service_container.rst

Hi ! If I'm not mistaking, we should extend the AbstractController to add a service in a controller.

<!--

If your pull request fixes a BUG, use the oldest maintained branch that contains
the bug (see https://symfony.com/releases for the list of maintained branches).

If your pull request documents a NEW FEATURE, use the same Symfony branch where
the feature was introduced (and `6.x` for features of unreleased versions).

-->

Commits
-------

eb2ce88 Update service_container.rst
7d667bc

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Jul 27, 2021
Mar 12, 2022
Feb 9, 2022

The official Symfony Documentation

Online version | Screencasts

Contributing

We love contributors! For more information on how you can contribute, please read the Symfony Docs Contributing Guide

Important: use 4.4 branch as the base of your pull requests, unless you are documenting a feature that was introduced after Symfony 4.4 (e.g. in Symfony 5.4).

Build Documentation Locally

This is not needed for contributing, but it's useful if you want to debug some issue in the docs or if you want to read Symfony Documentation offline.

$ git clone git@github.com:symfony/symfony-docs.git

$ cd symfony-docs/
$ cd _build/

$ composer install

$ php build.php

After generating docs, serve them with the internal PHP server:

$ php -S localhost:8000 -t output/

Browse http://localhost:8000 to read the docs.