Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit d364821

Browse files
committed
Merge pull request #106 from chris2039/master
Fixed config factory typos in docs
2 parents 7b53026 + 7f8720b commit d364821

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

doc/book/container/zend-servicemanager.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,9 +217,9 @@ add an entry for `config/autoload/*local.php` to ensure "local"
217217
`config/dependencies.php` will look like this:
218218

219219
```php
220-
use Zend\Config\Config;
220+
use Zend\Config\Factory;
221221

222-
return Config::fromFiles(
222+
return Factory::fromFiles(
223223
glob('config/autoload/dependencies.{global,local}.php', GLOB_BRACE)
224224
);
225225
```

doc/book/usage-examples.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -268,9 +268,9 @@ In `config/config.php`, place the following:
268268
269269
```php
270270
<?php
271-
use Zend\Config\Config;
271+
use Zend\Config\Factory;
272272
273-
return Config::fromFiles(
273+
return Factory::fromFiles(
274274
glob('config/autoload/{global,local}.php', GLOB_BRACE)
275275
);
276276
```
@@ -298,9 +298,9 @@ In `config/dependencies.php`, place the following:
298298
299299
```php
300300
<?php
301-
use Zend\Config\Config;
301+
use Zend\Config\Factory;
302302
303-
return Config::fromFiles(
303+
return Factory::fromFiles(
304304
glob('config/autoload/dependencies.{global,local}.php', GLOB_BRACE)
305305
);
306306
```

0 commit comments

Comments
 (0)