Skip to content

Commit 46f0e57

Browse files
authored
[11.x] Add Conditionable Trait to Request (#53775)
* [11.x] Add when() to Request * [11.x] Add when() to Request
1 parent b8bb5e9 commit 46f0e57

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Illuminate/Http/Request.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
use Illuminate\Support\Arr;
1010
use Illuminate\Support\Collection;
1111
use Illuminate\Support\Str;
12+
use Illuminate\Support\Traits\Conditionable;
1213
use Illuminate\Support\Traits\Macroable;
1314
use RuntimeException;
1415
use Symfony\Component\HttpFoundation\Exception\SessionNotFoundException;
@@ -27,6 +28,7 @@ class Request extends SymfonyRequest implements Arrayable, ArrayAccess
2728
Concerns\InteractsWithContentTypes,
2829
Concerns\InteractsWithFlashData,
2930
Concerns\InteractsWithInput,
31+
Conditionable,
3032
Macroable;
3133

3234
/**

0 commit comments

Comments
 (0)