Skip to content

Commit f9ff997

Browse files
Gappamabar
authored andcommitted
Update README.md
1 parent 3ca1bb0 commit f9ff997

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.docs/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
## Application Form Factory
99

10-
ApplicationFormFactory returns instance of Nette\Application\UI\Form. It should be used instead of StandaloneFormFactory if [nette/application](https://github.com/nette/application) is installed.
10+
ApplicationFormFactory returns instance of `Nette\Application\UI\Form`. It should be used in place of StandaloneFormFactory if [nette/application](https://github.com/nette/application) is installed.
1111

1212
```yaml
1313
extensions:
@@ -21,7 +21,7 @@ services:
2121
forms.application.factory: My\FormFactory
2222
```
2323
24-
Straightforward is to **inject** factory to presenter.
24+
Straightforward way is to **inject** the factory in a presenter.
2525
2626
```php
2727
namespace App\Presenters;
@@ -47,7 +47,7 @@ final class UserPresenter extends BasePresenter
4747
}
4848
```
4949

50-
Even better is to use factory in your custom form factory.
50+
Even better is to use the factory in your custom form factory.
5151

5252
```php
5353
namespace App\Forms;
@@ -80,7 +80,7 @@ final class UserFormFactory
8080

8181
## Standalone Form Factory
8282

83-
StandaloneFormFactory returns instance of Nette\Forms\Form. It should be used only if [nette/application](https://github.com/nette/application) is not installed.
83+
StandaloneFormFactory returns instance of `Nette\Forms\Form`. It should be used only if [nette/application](https://github.com/nette/application) is not installed.
8484

8585
```yaml
8686
extensions:
@@ -94,7 +94,7 @@ services:
9494
forms.standalone.factory: My\FormFactory
9595
```
9696
97-
Straightforward is to **inject** factory to presenter.
97+
Straightforward way is to **inject** factory in a presenter.
9898
9999
```php
100100
namespace App\Presenters;
@@ -120,7 +120,7 @@ final class UserPresenter extends BasePresenter
120120
}
121121
```
122122

123-
Even better is to use factory in your custom form factory.
123+
Even better is to use the factory in your custom form factory.
124124

125125
```php
126126
namespace App\Forms;

0 commit comments

Comments
 (0)