Skip to content
Open
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
4 changes: 2 additions & 2 deletions zh/reference/di.rst
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ Phalcon\\DI 提供服务的延迟加载。除非开发人员在注入服务的
));
});

以上这两种服务的注册方式产生相同的结果。然后,通过数组定义的,在后面需要的时候,你可以修改服务参数:
以上这两种服务的注册方式产生相同的结果。然而,通过数组定义的,在后面需要的时候,你可以修改服务参数:

.. code-block:: php

Expand Down Expand Up @@ -557,4 +557,4 @@ Accessing the DI in a static way

}

.. _`Inversion of Control`: http://en.wikipedia.org/wiki/Inversion_of_control
.. _`Inversion of Control`: http://en.wikipedia.org/wiki/Inversion_of_control