Skip to content

Commit 4af58e5

Browse files
Updated installation instructions
1 parent a22d01c commit 4af58e5

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,7 @@ Simple dependency injection container based on <a href="http://www.php-di.org" t
44

55
## Installation
66

7-
Easiest way is via composer:
8-
9-
```json
10-
"require": {
11-
"codenamephp/platform.di": "*"
12-
}
13-
```
7+
Easiest way is via composer. Just run `composer require codenamephp/platform.di` in your cli which should install the latest version for you.
148

159
## Usage
1610

@@ -119,7 +113,7 @@ class DefintionsProvider implements de\codenamephp\platform\di\definitionsProvid
119113
#### Dependency Handlers
120114

121115
The ContainerBuilder has a DependencyHandler that handles the depdency checks and keeps track of already added dependencies and must implement the
122-
e/codenamephp/platform/di/definitionsProvider/dependency/handler/iHandler. By default, a [de/codenamephp/platform/di/definitionsProvider/dependency/handler/DontHandle](#donthandle)
116+
`de/codenamephp/platform/di/definitionsProvider/dependency/handler/iHandler`. By default, a [de/codenamephp/platform/di/definitionsProvider/dependency/handler/DontHandle](#donthandle)
123117
instance is set so there is no dependency handling active by default (so BC is kept). This will change in future releases.
124118

125119
#### DontHandle

0 commit comments

Comments
 (0)