Skip to content

Commit 1d554dd

Browse files
author
Dominik Liebler
committed
Update DependenyInjection/DependencyInjection.php
1 parent 2dbd0ca commit 1d554dd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

DependenyInjection/DependencyInjection.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
* Dependency Injection
77
*
88
* Purpose:
9-
* to implement a loosely coupled architecture in order to get better testable, maintainable and extandable code
9+
* to implement a loosely coupled architecture in order to get better testable, maintainable and extendable code
1010
*
1111
* Examples:
1212
* - the Doctrine2 ORM uses dependency injection e.g. for Configuration that is injected into a Connection object. for
1313
* testing purposes, one can easily create a mock object of the configuration and inject that into the connection
1414
* object
1515
* - Symfony and Zend Framework 2 already have containers for DI that create objects via a configuration array and
16-
* inject them where needed
16+
* inject them where needed (i.e. in Controllers)
1717
*
1818
*/
1919
class Configuration
@@ -60,4 +60,4 @@ public function connect()
6060
$host = $this->_configuration->getHost();
6161
// ...
6262
}
63-
}
63+
}

0 commit comments

Comments
 (0)