Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions components/contracts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,24 @@ that can be enabled when using :ref:`autoconfiguration <services-autoconfigure>`
or manual :doc:`service tagging </service_container/tags>` (or any other means
provided by your framework.)

``ContainerProviderInterface``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. versionadded:: 8.1

The ``ContainerProviderInterface`` was introduced in Symfony 8.1.

The :class:`Symfony\\Contracts\\Service\\ContainerProviderInterface` provides a
standard way for objects to expose their service container. It defines a single
method::

use Psr\Container\ContainerInterface;

interface ContainerProviderInterface
{
public function getContainer(): ContainerInterface;
}

Design Principles
-----------------

Expand Down
3 changes: 0 additions & 3 deletions controller.rst
Original file line number Diff line number Diff line change
Expand Up @@ -747,9 +747,6 @@ there are constraint violations:
)]
UploadedFile $document

.. versionadded:: 7.1

The ``#[MapUploadedFile]`` attribute was introduced in Symfony 7.1.

.. _controller_map-request-header:

Expand Down
Loading