Blog |
Forum |
Repository
Jump to letter: [
ACFGHILMOPQRSTWX
]
php-ZendFramework2-Di - Zend Framework 2: DI Component
- Website:
- http://framework.zend.com/manual/2.3/en/modules/zend.di.introduction.html
- Licence:
- BSD
- Vendor:
- Remi Collet
- Description:
Dependency Injection (here-in called DI) is a concept that has been talked
about in numerous places over the web. Simply put, we’ll explain the act of
injecting dependencies simply with this below code:
$b = new MovieLister(new MovieFinder());
Above, MovieFinder is a dependency of MovieLister, and MovieFinder was
injected into MovieLister.
Packages