Skip to content

Commit 6df12d1

Browse files
Make Router tappable (#52051)
1 parent af1298c commit 6df12d1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Illuminate/Routing/Router.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
use Illuminate\Support\Str;
2525
use Illuminate\Support\Stringable;
2626
use Illuminate\Support\Traits\Macroable;
27+
use Illuminate\Support\Traits\Tappable;
2728
use JsonSerializable;
2829
use Psr\Http\Message\ResponseInterface as PsrResponseInterface;
2930
use ReflectionClass;
@@ -39,6 +40,7 @@ class Router implements BindingRegistrar, RegistrarContract
3940
use Macroable {
4041
__call as macroCall;
4142
}
43+
use Tappable;
4244

4345
/**
4446
* The event dispatcher instance.

0 commit comments

Comments
 (0)