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
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@ WrapperBundle
2
2
=====
3
3
This is a wrapper bundle for the [Symfony](https://symfony.com) framework.
4
4
5
-
Main goal of this bundle is to provide a simple way to create a wrappers for the services.
5
+
The main goal of this bundle is to provide a simple way to create a wrappers for the services.
6
6
7
7
Under the hood, this bundle performs code generation similar to how Doctrine does for entity proxying.
8
8
@@ -34,7 +34,7 @@ class LogExceptionHandler implements \Pioniro\WrapperBundle\HandlerInterface
34
34
{
35
35
public function __construct(private \Psr\Log\LoggerInterface $logger) {}
36
36
37
-
public function handle(callable $next, array $args, AnnotationInterface $annotation): callable
37
+
public function handle(callable $next, string $method, array $args, AnnotationInterface $annotation): callable
38
38
{
39
39
return function ($input) use ($next) {
40
40
try{
@@ -102,4 +102,4 @@ You can create as many handlers as you want and use them in your services.
102
102
- Handlers are not called for methods of the final classes.
103
103
- Handlers are not called for methods of the classes that are not in the container.
104
104
- May occur strange errors if you use `static` keyword (for example in the Command) in the annotated hierarchy.
105
-
- Using other annotations in the same class may lead to unexpected behavior (e.g. if you use `@Route` or `@Template` annotations in the same class, these annotation may not work as expected)
105
+
- Using other annotations in the same class may lead to unexpected behavior (e.g., if you use `@Route` or `@Template` annotations in the same class, these annotations may not work as expected)
0 commit comments