Skip to content

Service container docs, reference section #101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
7 commits merged into from
Feb 17, 2011
Prev Previous commit
Next Next commit
[glossary] Adding note to about *Services* to better distinguish them…
… from other objects.
  • Loading branch information
weaverryan committed Feb 15, 2011
commit 09e5f55d368f45603312163d733c4eb610d67138
8 changes: 5 additions & 3 deletions glossary.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@ Glossary

Service
A *Service* is a generic term for any PHP object that performs a
specific task. In Symfony2, services are often configured and retrieved
from the service container. An application that has many decoupled
services is said to follow a `service-oriented architecture`_
specific task. A service is usually used "globally", such as a database
connection object or an object that delivers email messages. In Symfony2,
services are often configured and retrieved from the service container.
An application that has many decoupled services is said to follow
a `service-oriented architecture`_

Service Container
A *Service Container*, also known as a *Dependency Injection Container*,
Expand Down