Skip to content

Commit 258c4ea

Browse files
committed
Adjust README.
1 parent 540c9ac commit 258c4ea

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Codeception Slim Module
22

3-
[![Master Build Status](https://travis-ci.org/herloct/codeception-slim-module.svg?branch=1.0.4)](https://travis-ci.org/herloct/codeception-slim-module)
3+
[![Master Build Status](https://travis-ci.org/herloct/codeception-slim-module.svg?branch=1.1.0)](https://travis-ci.org/herloct/codeception-slim-module)
44
[![Packagist Stable Version](https://img.shields.io/packagist/v/herloct/codeception-slim-module.svg)](https://packagist.org/packages/herloct/codeception-slim-module)
55
[![Packagist License](https://img.shields.io/packagist/l/herloct/codeception-slim-module.svg)](https://packagist.org/packages/herloct/codeception-slim-module)
66
[![Libraries.io for GitHub](https://img.shields.io/librariesio/github/herloct/codeception-slim-module.svg)](https://libraries.io/github/herloct/codeception-slim-module)
@@ -21,26 +21,29 @@ Via `composer.json`:
2121
```json
2222
{
2323
"require-dev": {
24-
"herloct/codeception-slim-module": "^1.0"
24+
"herloct/codeception-slim-module": "^1.1"
2525
}
2626
}
2727
```
2828

2929
## Config
3030

31-
* container: relative path to file which returns Container.
31+
Put this on your `codeception.yml`'s `modules.config`, or on your `tests/functional.suite.yml`'s
32+
`modules.enabled`.
3233

3334
```yaml
3435
\Herloct\Codeception\Module\Slim:
3536
container: path/to/container.php
3637
```
3738
39+
The `container` properties is a relative path to file which returns your App's Container.
40+
3841
Minimum `container.php` contents.
3942

4043
```php
4144
require __DIR__.'/vendor/autoload.php';
4245
43-
use Interop\Container\ContainerInterface;
46+
use Psr\Container\ContainerInterface;
4447
use Slim\App;
4548
use Slim\Container;
4649
@@ -61,7 +64,7 @@ You could use this [Sample Project](https://github.com/herloct/codeception-slim-
6164

6265
## API
6366

64-
* application - instance of `\Slim\App`
67+
* app - instance of `\Slim\App`
6568
* container - instance of `\Interop\Container\ContainerInterface`
6669
* client - [BrowserKit](http://symfony.com/doc/current/components/browser_kit.html) client
6770

0 commit comments

Comments
 (0)