Skip to content

Commit 18bff75

Browse files
committed
Rename ContainerAwareInterface to ContainerProviderInterface
1 parent 5024763 commit 18bff75

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

components/contracts.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,20 +39,20 @@ that can be enabled when using :ref:`autoconfiguration <services-autoconfigure>`
3939
or manual :doc:`service tagging </service_container/tags>` (or any other means
4040
provided by your framework.)
4141

42-
``ContainerAwareInterface``
43-
~~~~~~~~~~~~~~~~~~~~~~~~~~~
42+
``ContainerProviderInterface``
43+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4444

4545
.. versionadded:: 8.1
4646

47-
The ``ContainerAwareInterface`` was introduced in Symfony 8.1.
47+
The ``ContainerProviderInterface`` was introduced in Symfony 8.1.
4848

49-
The :class:`Symfony\\Contracts\\Service\\ContainerAwareInterface` provides a
49+
The :class:`Symfony\\Contracts\\Service\\ContainerProviderInterface` provides a
5050
standard way for objects to expose their service container. It defines a single
5151
method::
5252

5353
use Psr\Container\ContainerInterface;
5454

55-
interface ContainerAwareInterface
55+
interface ContainerProviderInterface
5656
{
5757
public function getContainer(): ContainerInterface;
5858
}

0 commit comments

Comments
 (0)