Skip to content

Commit 10dd1e0

Browse files
srozenicolas-grekas
authored andcommitted
[Messenger] Rename Adapters to Transports
1 parent dee6ec6 commit 10dd1e0

29 files changed

+53
-55
lines changed

Asynchronous/Middleware/SendMessageMiddleware.php

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

1414
use Symfony\Component\Messenger\Asynchronous\Routing\SenderLocatorInterface;
1515
use Symfony\Component\Messenger\Asynchronous\Transport\ReceivedMessage;
16-
use Symfony\Component\Messenger\MiddlewareInterface;
16+
use Symfony\Component\Messenger\Middleware\MiddlewareInterface;
1717

1818
/**
1919
* @author Samuel Roze <[email protected]>

ContainerHandlerLocator.php renamed to Handler/Locator/ContainerHandlerLocator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\Component\Messenger;
12+
namespace Symfony\Component\Messenger\Handler\Locator;
1313

1414
use Psr\Container\ContainerInterface;
1515
use Symfony\Component\Messenger\Exception\NoHandlerForMessageException;

HandlerLocator.php renamed to Handler/Locator/HandlerLocator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\Component\Messenger;
12+
namespace Symfony\Component\Messenger\Handler\Locator;
1313

1414
use Symfony\Component\Messenger\Exception\NoHandlerForMessageException;
1515

HandlerLocatorInterface.php renamed to Handler/Locator/HandlerLocatorInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\Component\Messenger;
12+
namespace Symfony\Component\Messenger\Handler\Locator;
1313

1414
use Symfony\Component\Messenger\Exception\NoHandlerForMessageException;
1515

MessageBus.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
namespace Symfony\Component\Messenger;
1313

14+
use Symfony\Component\Messenger\Middleware\MiddlewareInterface;
15+
1416
/**
1517
* @author Samuel Roze <[email protected]>
1618
* @author Matthias Noback <[email protected]>

Middleware/HandleMessageMiddleware.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111

1212
namespace Symfony\Component\Messenger\Middleware;
1313

14-
use Symfony\Component\Messenger\MiddlewareInterface;
15-
use Symfony\Component\Messenger\HandlerLocatorInterface;
14+
use Symfony\Component\Messenger\Handler\Locator\HandlerLocatorInterface;
1615

1716
/**
1817
* @author Samuel Roze <[email protected]>

Middleware/LoggingMiddleware.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
namespace Symfony\Component\Messenger\Middleware;
1313

1414
use Symfony\Component\Messenger\Asynchronous\Transport\ReceivedMessage;
15-
use Symfony\Component\Messenger\MiddlewareInterface;
1615
use Psr\Log\LoggerInterface;
1716

1817
/**

MiddlewareInterface.php renamed to Middleware/MiddlewareInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\Component\Messenger;
12+
namespace Symfony\Component\Messenger\Middleware;
1313

1414
/**
1515
* @author Samuel Roze <[email protected]>

Middleware/TolerateNoHandler.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
namespace Symfony\Component\Messenger\Middleware;
1313

1414
use Symfony\Component\Messenger\Exception\NoHandlerForMessageException;
15-
use Symfony\Component\Messenger\MiddlewareInterface;
1615

1716
/**
1817
* @author Samuel Roze <[email protected]>

Middleware/ValidationMiddleware.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
namespace Symfony\Component\Messenger\Middleware;
1313

1414
use Symfony\Component\Messenger\Exception\ValidationFailedException;
15-
use Symfony\Component\Messenger\MiddlewareInterface;
1615
use Symfony\Component\Validator\Validator\ValidatorInterface;
1716

1817
/**

0 commit comments

Comments
 (0)