You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-19Lines changed: 19 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,9 +29,8 @@ The package provides advanced error handling. The features are:
29
29
30
30
## Requirements
31
31
32
-
- PHP 8.0 or higher.
32
+
- PHP 8.1 or higher.
33
33
-`DOM` PHP extension.
34
-
-`JSON` PHP extension.
35
34
-`mbstring` PHP extension.
36
35
37
36
## Installation
@@ -123,10 +122,11 @@ For more information about creating your own renders and examples of rendering e
123
122
124
123
### Using a factory to create a response
125
124
126
-
`Yiisoft\ErrorHandler\Factory\ThrowableResponseFactory` renders `Throwable` object and produces a response according to the content type provided by the client.
125
+
`Yiisoft\ErrorHandler\ThrowableResponseFactory` renders `Throwable` object and produces a response according to the content type provided by the client.
127
126
128
127
```php
129
-
use Yiisoft\ErrorHandler\Factory\ThrowableResponseFactory;
128
+
use Yiisoft\ErrorHandler\RendererProvider;
129
+
use Yiisoft\ErrorHandler\ThrowableResponseFactory;
130
130
131
131
/**
132
132
* @var \Throwable $throwable
@@ -136,27 +136,27 @@ use Yiisoft\ErrorHandler\Factory\ThrowableResponseFactory;
0 commit comments