mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-02-06 14:40:48 +03:00
Update README.rst
This commit is contained in:
parent
06af64fadf
commit
d9954fba86
|
@ -47,10 +47,10 @@ Why do I need it?
|
||||||
With the ``Dependency Injector`` you keep **application structure in one place**.
|
With the ``Dependency Injector`` you keep **application structure in one place**.
|
||||||
This place is called the **container**. You use the container to manage **all the components** of the application. **All the component dependencies** are defined explicitly.
|
This place is called the **container**. You use the container to manage **all the components** of the application. **All the component dependencies** are defined explicitly.
|
||||||
|
|
||||||
*The container is like a map of your application. You always know what depends on what.*
|
|
||||||
|
|
||||||
.. figure:: ./di-map.svg
|
.. figure:: ./di-map.svg
|
||||||
|
|
||||||
|
*The container is like a map of your application. You always know what depends on what.*
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
Loading…
Reference in New Issue
Block a user