Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Messenger] Mark the component as experimental for 4.2 #29037

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 31, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@

/**
* @author Samuel Roze <[email protected]>
*
* @experimental in 4.2
*/
class ConsumeMessagesCommand extends Command
{
Expand Down
2 changes: 2 additions & 0 deletions src/Symfony/Component/Messenger/Command/DebugCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
* A console command to debug Messenger information.
*
* @author Roland Franssen <[email protected]>
*
* @experimental in 4.2
*/
class DebugCommand extends Command
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@

/**
* @author Samuel Roze <[email protected]>
*
* @experimental in 4.2
*/
class MessengerDataCollector extends DataCollector implements LateDataCollectorInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@

/**
* @author Samuel Roze <[email protected]>
*
* @experimental in 4.2
*/
class MessengerPass implements CompilerPassInterface
{
Expand Down
2 changes: 2 additions & 0 deletions src/Symfony/Component/Messenger/Envelope.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
* A message wrapped in an envelope with stamps (configurations, markers, ...).
*
* @author Maxime Steinhausser <[email protected]>
*
* @experimental in 4.2
*/
final class Envelope
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
* Base Message component's exception.
*
* @author Samuel Roze <[email protected]>
*
* @experimental in 4.2
*/
interface ExceptionInterface extends \Throwable
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

/**
* @author Yonel Ceruto <[email protected]>
*
* @experimental in 4.2
*/
class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface
{
Expand Down
2 changes: 2 additions & 0 deletions src/Symfony/Component/Messenger/Exception/LogicException.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

/**
* @author Roland Franssen <[email protected]>
*
* @experimental in 4.2
*/
class LogicException extends \LogicException implements ExceptionInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

/**
* @author Samuel Roze <[email protected]>
*
* @experimental in 4.2
*/
class NoHandlerForMessageException extends \LogicException implements ExceptionInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

/**
* @author Fabien Potencier <[email protected]>
*
* @experimental in 4.2
*/
class RuntimeException extends \RuntimeException implements ExceptionInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@

/**
* @author Tobias Nyholm <[email protected]>
*
* @experimental in 4.2
*/
class ValidationFailedException extends \RuntimeException implements ExceptionInterface
{
Expand Down
2 changes: 2 additions & 0 deletions src/Symfony/Component/Messenger/Handler/ChainHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
* Represents a collection of message handlers.
*
* @author Samuel Roze <[email protected]>
*
* @experimental in 4.2
*/
class ChainHandler
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
* @author Samuel Roze <[email protected]>
*
* @internal
*
* @experimental in 4.2
*/
abstract class AbstractHandlerLocator implements HandlerLocatorInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
/**
* @author Miha Vrhovnik <[email protected]>
* @author Samuel Roze <[email protected]>
*
* @experimental in 4.2
*/
class ContainerHandlerLocator extends AbstractHandlerLocator
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

/**
* @author Samuel Roze <[email protected]>
*
* @experimental in 4.2
*/
class HandlerLocator extends AbstractHandlerLocator
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@

/**
* @author Samuel Roze <[email protected]>
*
* @experimental in 4.2
*/
interface HandlerLocatorInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
* Marker interface for message handlers.
*
* @author Samuel Roze <[email protected]>
*
* @experimental in 4.2
*/
interface MessageHandlerInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
* Handlers can implement this interface to handle multiple messages.
*
* @author Samuel Roze <[email protected]>
*
* @experimental in 4.2
*/
interface MessageSubscriberInterface extends MessageHandlerInterface
{
Expand Down
2 changes: 2 additions & 0 deletions src/Symfony/Component/Messenger/MessageBus.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
* @author Samuel Roze <[email protected]>
* @author Matthias Noback <[email protected]>
* @author Nicolas Grekas <[email protected]>
*
* @experimental in 4.2
*/
class MessageBus implements MessageBusInterface
{
Expand Down
2 changes: 2 additions & 0 deletions src/Symfony/Component/Messenger/MessageBusInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

/**
* @author Samuel Roze <[email protected]>
*
* @experimental in 4.2
*/
interface MessageBusInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
* Execute the inner middleware according to an activation strategy.
*
* @author Maxime Steinhausser <[email protected]>
*
* @experimental in 4.2
*/
class ActivationMiddleware implements MiddlewareInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

/**
* @author Samuel Roze <[email protected]>
*
* @experimental in 4.2
*/
class HandleMessageMiddleware implements MiddlewareInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

/**
* @author Samuel Roze <[email protected]>
*
* @experimental in 4.2
*/
class LoggingMiddleware implements MiddlewareInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@

/**
* @author Samuel Roze <[email protected]>
*
* @experimental in 4.2
*/
interface MiddlewareInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
/**
* @author Samuel Roze <[email protected]>
* @author Tobias Schultze <http://tobion.de>
*
* @experimental in 4.2
*/
class SendMessageMiddleware implements MiddlewareInterface
{
Expand Down
2 changes: 2 additions & 0 deletions src/Symfony/Component/Messenger/Middleware/StackInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

/**
* @author Nicolas Grekas <[email protected]>
*
* @experimental in 4.2
*/
interface StackInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@

/**
* @author Nicolas Grekas <[email protected]>
*
* @experimental in 4.2
*/
class StackMiddleware implements MiddlewareInterface, StackInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
* Collects some data about a middleware.
*
* @author Maxime Steinhausser <[email protected]>
*
* @experimental in 4.2
*/
class TraceableMiddleware implements MiddlewareInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

/**
* @author Tobias Nyholm <[email protected]>
*
* @experimental in 4.2
*/
class ValidationMiddleware implements MiddlewareInterface
{
Expand Down
4 changes: 4 additions & 0 deletions src/Symfony/Component/Messenger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ Messenger Component
The Messenger component helps application send and receive messages to/from other applications or via
message queues.

**This Component is experimental**. [Experimental
features](https://symfony.com/doc/current/contributing/code/experimental.html)
are not covered by Symfony's BC-break policy.

Resources
---------

Expand Down
2 changes: 2 additions & 0 deletions src/Symfony/Component/Messenger/Stamp/ReceivedStamp.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
* @see SendMessageMiddleware
*
* @author Samuel Roze <[email protected]>
*
* @experimental in 4.2
*/
final class ReceivedStamp implements StampInterface
{
Expand Down
2 changes: 2 additions & 0 deletions src/Symfony/Component/Messenger/Stamp/SerializerStamp.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

/**
* @author Maxime Steinhausser <[email protected]>
*
* @experimental in 4.2
*/
final class SerializerStamp implements StampInterface
{
Expand Down
2 changes: 2 additions & 0 deletions src/Symfony/Component/Messenger/Stamp/StampInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
* Stamps must be serializable value objects for transport.
*
* @author Maxime Steinhausser <[email protected]>
*
* @experimental in 4.2
*/
interface StampInterface
{
Expand Down
2 changes: 2 additions & 0 deletions src/Symfony/Component/Messenger/Stamp/ValidationStamp.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@

/**
* @author Maxime Steinhausser <[email protected]>
*
* @experimental in 4.2
*/
final class ValidationStamp implements StampInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

/**
* @author Nicolas Grekas <[email protected]>
*
* @experimental in 4.2
*/
abstract class MiddlewareTestCase extends TestCase
{
Expand Down
2 changes: 2 additions & 0 deletions src/Symfony/Component/Messenger/TraceableMessageBus.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

/**
* @author Samuel Roze <[email protected]>
*
* @experimental in 4.2
*/
class TraceableMessageBus implements MessageBusInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@

namespace Symfony\Component\Messenger\Transport\AmqpExt;

/**
* @experimental in 4.2
*/
class AmqpFactory
{
public function createConnection(array $credentials): \AMQPConnection
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
* Symfony Messenger receiver to get messages from AMQP brokers using PHP's AMQP extension.
*
* @author Samuel Roze <[email protected]>
*
* @experimental in 4.2
*/
class AmqpReceiver implements ReceiverInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
* Symfony Messenger sender to send messages to AMQP brokers using PHP's AMQP extension.
*
* @author Samuel Roze <[email protected]>
*
* @experimental in 4.2
*/
class AmqpSender implements SenderInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

/**
* @author Nicolas Grekas <[email protected]>
*
* @experimental in 4.2
*/
class AmqpTransport implements TransportInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

/**
* @author Samuel Roze <[email protected]>
*
* @experimental in 4.2
*/
class AmqpTransportFactory implements TransportFactoryInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
* @author Samuel Roze <[email protected]>
*
* @final
*
* @experimental in 4.2
*/
class Connection
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
* be rejected. Otherwise, it will be re-queued.
*
* @author Samuel Roze <[email protected]>
*
* @experimental in 4.2
*/
interface RejectMessageExceptionInterface extends \Throwable
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

/**
* @author Samuel Roze <[email protected]>
*
* @experimental in 4.2
*/
interface ReceiverInterface
{
Expand Down
Loading