Purpose of the Dependecy Injection (DI) is to free classes from the responsibility for obtaining objects that they need for its operation (these objects are called services). To pass them these services on their instantiation instead.
Nette DI is one of the most interesting part of framework. It is compiled DI container, extremely fast and easy to configure.
To use this library, you just have to add, in your project:
require_once '/usr/share/php/Nette/DI/autoload.php';
Please login to add feedback.
This update has been submitted for testing by remi.
This update has been pushed to testing.
remi edited this update.
New build(s):
Removed build(s):
This update has been submitted for testing by remi.
This update has been pushed to testing.
This update has reached 14 days in testing and can be pushed to stable now if the maintainer wishes
This update has been submitted for stable by remi.
This update has been pushed to stable.