Skip to content

Commit 85122f4

Browse files
committed
refactor: moved AttributesInterceptor in Common
1 parent 322e215 commit 85122f4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ To enable attribute-based interceptors, add the `AttributesInterceptor` to your
297297
```php
298298
'interceptors' => [
299299
// ... other global interceptors before
300-
\Spiral\RoadRunnerLaravel\Grpc\Interceptor\AttributesInterceptor::class,
300+
\Spiral\RoadRunnerLaravel\Common\Interceptor\AttributesInterceptor::class,
301301
// ... other global interceptors after
302302
],
303303
```

config/roadrunner.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
],
2929
// Global interceptors - applied to all services
3030
'interceptors' => [
31-
// \Spiral\RoadRunnerLaravel\Grpc\Interceptor\AttributesInterceptor::class,
31+
// \Spiral\RoadRunnerLaravel\Common\Interceptor\AttributesInterceptor::class,
3232
// AllServiceInterceptor::class,
3333
],
3434
'clients' => [

src/Grpc/Interceptor/AttributesInterceptor.php renamed to src/Common/Interceptor/AttributesInterceptor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace Spiral\RoadRunnerLaravel\Grpc\Interceptor;
5+
namespace Spiral\RoadRunnerLaravel\Common\Interceptor;
66

77
use Spiral\Interceptors\Context\CallContextInterface;
88
use Spiral\Interceptors\Handler\InterceptorPipeline;

0 commit comments

Comments
 (0)