Merge pull request #36514 from fabpot/notifier-still-experimental
[Notifier] Mark the component as experimental in 5.1
This commit is contained in:
commit
01794d089c
@ -22,7 +22,7 @@ use Symfony\Contracts\HttpClient\HttpClientInterface;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
final class NexmoTransport extends AbstractTransport
|
||||
{
|
||||
|
@ -19,7 +19,7 @@ use Symfony\Component\Notifier\Transport\TransportInterface;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
final class NexmoTransportFactory extends AbstractTransportFactory
|
||||
{
|
||||
|
@ -20,7 +20,7 @@ use Symfony\Component\Notifier\Notification\Notification;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
final class SlackOptions implements MessageOptionsInterface
|
||||
{
|
||||
|
@ -29,7 +29,7 @@ use Symfony\Contracts\HttpClient\HttpClientInterface;
|
||||
*
|
||||
* @see https://api.slack.com/messaging/webhooks
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
final class SlackTransport extends AbstractTransport
|
||||
{
|
||||
|
@ -19,7 +19,7 @@ use Symfony\Component\Notifier\Transport\TransportInterface;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
final class SlackTransportFactory extends AbstractTransportFactory
|
||||
{
|
||||
|
@ -29,7 +29,7 @@ use Symfony\Contracts\HttpClient\HttpClientInterface;
|
||||
*
|
||||
* @internal
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
final class TelegramTransport extends AbstractTransport
|
||||
{
|
||||
|
@ -20,7 +20,7 @@ use Symfony\Component\Notifier\Transport\TransportInterface;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
final class TelegramTransportFactory extends AbstractTransportFactory
|
||||
{
|
||||
|
@ -22,7 +22,7 @@ use Symfony\Contracts\HttpClient\HttpClientInterface;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
final class TwilioTransport extends AbstractTransport
|
||||
{
|
||||
|
@ -19,7 +19,7 @@ use Symfony\Component\Notifier\Transport\TransportInterface;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
final class TwilioTransportFactory extends AbstractTransportFactory
|
||||
{
|
||||
|
@ -18,7 +18,7 @@ use Symfony\Component\Notifier\Transport\TransportInterface;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
abstract class AbstractChannel implements ChannelInterface
|
||||
{
|
||||
|
@ -18,7 +18,7 @@ use Symfony\Component\Notifier\Recipient\Recipient;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
final class BrowserChannel implements ChannelInterface
|
||||
{
|
||||
|
@ -17,7 +17,7 @@ use Symfony\Component\Notifier\Recipient\Recipient;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
interface ChannelInterface
|
||||
{
|
||||
|
@ -16,7 +16,7 @@ use Symfony\Component\Notifier\Exception\InvalidArgumentException;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
final class ChannelPolicy implements ChannelPolicyInterface
|
||||
{
|
||||
|
@ -14,7 +14,7 @@ namespace Symfony\Component\Notifier\Channel;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
interface ChannelPolicyInterface
|
||||
{
|
||||
|
@ -20,7 +20,7 @@ use Symfony\Component\Notifier\Recipient\Recipient;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
class ChatChannel extends AbstractChannel
|
||||
{
|
||||
|
@ -25,7 +25,7 @@ use Symfony\Component\Notifier\Recipient\Recipient;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
class EmailChannel implements ChannelInterface
|
||||
{
|
||||
|
@ -20,7 +20,7 @@ use Symfony\Component\Notifier\Recipient\SmsRecipientInterface;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
class SmsChannel extends AbstractChannel
|
||||
{
|
||||
|
@ -22,7 +22,7 @@ use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
final class Chatter implements ChatterInterface
|
||||
{
|
||||
|
@ -18,7 +18,7 @@ use Symfony\Component\Notifier\Transport\TransportInterface;
|
||||
*
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
interface ChatterInterface extends TransportInterface
|
||||
{
|
||||
|
@ -20,7 +20,7 @@ use Symfony\Component\Notifier\EventListener\NotificationLoggerListener;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
final class NotificationDataCollector extends DataCollector
|
||||
{
|
||||
|
@ -17,7 +17,7 @@ use Symfony\Contracts\EventDispatcher\Event;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
final class MessageEvent extends Event
|
||||
{
|
||||
|
@ -16,7 +16,7 @@ use Symfony\Component\Notifier\Message\MessageInterface;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
class NotificationEvents
|
||||
{
|
||||
|
@ -19,7 +19,7 @@ use Symfony\Contracts\Service\ResetInterface;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
class NotificationLoggerListener implements EventSubscriberInterface, ResetInterface
|
||||
{
|
||||
|
@ -21,7 +21,7 @@ use Symfony\Component\Notifier\Notifier;
|
||||
*
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
class SendFailedMessageToNotifierListener implements EventSubscriberInterface
|
||||
{
|
||||
|
@ -16,7 +16,7 @@ namespace Symfony\Component\Notifier\Exception;
|
||||
*
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
interface ExceptionInterface extends \Throwable
|
||||
{
|
||||
|
@ -14,7 +14,7 @@ namespace Symfony\Component\Notifier\Exception;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
class IncompleteDsnException extends InvalidArgumentException
|
||||
{
|
||||
|
@ -14,7 +14,7 @@ namespace Symfony\Component\Notifier\Exception;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface
|
||||
{
|
||||
|
@ -14,7 +14,7 @@ namespace Symfony\Component\Notifier\Exception;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
class LogicException extends \LogicException implements ExceptionInterface
|
||||
{
|
||||
|
@ -14,7 +14,7 @@ namespace Symfony\Component\Notifier\Exception;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
class RuntimeException extends \RuntimeException implements ExceptionInterface
|
||||
{
|
||||
|
@ -16,7 +16,7 @@ use Symfony\Contracts\HttpClient\ResponseInterface;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
class TransportException extends RuntimeException implements TransportExceptionInterface
|
||||
{
|
||||
|
@ -14,7 +14,7 @@ namespace Symfony\Component\Notifier\Exception;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
interface TransportExceptionInterface extends ExceptionInterface
|
||||
{
|
||||
|
@ -17,7 +17,7 @@ use Symfony\Component\Notifier\Transport\Dsn;
|
||||
/**
|
||||
* @author Konstantin Myakshin <molodchick@gmail.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
class UnsupportedSchemeException extends LogicException
|
||||
{
|
||||
|
@ -16,7 +16,7 @@ use Symfony\Component\Notifier\Notification\Notification;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
final class ChatMessage implements MessageInterface
|
||||
{
|
||||
|
@ -22,7 +22,7 @@ use Symfony\Component\Notifier\Recipient\Recipient;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
final class EmailMessage implements MessageInterface
|
||||
{
|
||||
|
@ -14,7 +14,7 @@ namespace Symfony\Component\Notifier\Message;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
interface MessageInterface
|
||||
{
|
||||
|
@ -14,7 +14,7 @@ namespace Symfony\Component\Notifier\Message;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
interface MessageOptionsInterface
|
||||
{
|
||||
|
@ -20,7 +20,7 @@ use Symfony\Component\Notifier\Recipient\SmsRecipientInterface;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
final class SmsMessage implements MessageInterface
|
||||
{
|
||||
|
@ -17,7 +17,7 @@ use Symfony\Component\Notifier\Transport\TransportInterface;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
final class MessageHandler
|
||||
{
|
||||
|
@ -17,7 +17,7 @@ use Symfony\Component\Notifier\Recipient\Recipient;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
interface ChatNotificationInterface
|
||||
{
|
||||
|
@ -17,7 +17,7 @@ use Symfony\Component\Notifier\Recipient\Recipient;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
interface EmailNotificationInterface
|
||||
{
|
||||
|
@ -18,7 +18,7 @@ use Symfony\Component\Notifier\Recipient\Recipient;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
class Notification
|
||||
{
|
||||
|
@ -17,7 +17,7 @@ use Symfony\Component\Notifier\Recipient\Recipient;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
interface SmsNotificationInterface
|
||||
{
|
||||
|
@ -24,7 +24,7 @@ use Symfony\Component\Notifier\Recipient\Recipient;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
final class Notifier implements NotifierInterface
|
||||
{
|
||||
|
@ -19,7 +19,7 @@ use Symfony\Component\Notifier\Recipient\Recipient;
|
||||
*
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
interface NotifierInterface
|
||||
{
|
||||
|
@ -14,7 +14,7 @@ namespace Symfony\Component\Notifier\Recipient;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
class AdminRecipient extends Recipient implements SmsRecipientInterface
|
||||
{
|
||||
|
@ -14,7 +14,7 @@ namespace Symfony\Component\Notifier\Recipient;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
class NoRecipient extends Recipient
|
||||
{
|
||||
|
@ -14,7 +14,7 @@ namespace Symfony\Component\Notifier\Recipient;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
class Recipient
|
||||
{
|
||||
|
@ -14,7 +14,7 @@ namespace Symfony\Component\Notifier\Recipient;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
interface SmsRecipientInterface
|
||||
{
|
||||
|
@ -22,7 +22,7 @@ use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
final class Texter implements TexterInterface
|
||||
{
|
||||
|
@ -18,7 +18,7 @@ use Symfony\Component\Notifier\Transport\TransportInterface;
|
||||
*
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
interface TexterInterface extends TransportInterface
|
||||
{
|
||||
|
@ -34,7 +34,7 @@ use Symfony\Contracts\HttpClient\HttpClientInterface;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
class Transport
|
||||
{
|
||||
|
@ -23,7 +23,7 @@ use Symfony\Contracts\HttpClient\HttpClientInterface;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
abstract class AbstractTransport implements TransportInterface
|
||||
{
|
||||
|
@ -21,7 +21,7 @@ use Symfony\Contracts\HttpClient\HttpClientInterface;
|
||||
* @author Konstantin Myakshin <molodchick@gmail.com>
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
abstract class AbstractTransportFactory implements TransportFactoryInterface
|
||||
{
|
||||
|
@ -16,7 +16,7 @@ use Symfony\Component\Notifier\Exception\InvalidArgumentException;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
final class Dsn
|
||||
{
|
||||
|
@ -18,7 +18,7 @@ use Symfony\Component\Notifier\Message\MessageInterface;
|
||||
*
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
class FailoverTransport extends RoundRobinTransport
|
||||
{
|
||||
|
@ -20,7 +20,7 @@ use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
class NullTransport implements TransportInterface
|
||||
{
|
||||
|
@ -16,7 +16,7 @@ use Symfony\Component\Notifier\Exception\UnsupportedSchemeException;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
final class NullTransportFactory extends AbstractTransportFactory
|
||||
{
|
||||
|
@ -21,7 +21,7 @@ use Symfony\Component\Notifier\Message\MessageInterface;
|
||||
*
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
class RoundRobinTransport implements TransportInterface
|
||||
{
|
||||
|
@ -17,7 +17,7 @@ use Symfony\Component\Notifier\Exception\UnsupportedSchemeException;
|
||||
/**
|
||||
* @author Konstantin Myakshin <molodchick@gmail.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
interface TransportFactoryInterface
|
||||
{
|
||||
|
@ -17,7 +17,7 @@ use Symfony\Component\Notifier\Message\MessageInterface;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
interface TransportInterface
|
||||
{
|
||||
|
@ -17,7 +17,7 @@ use Symfony\Component\Notifier\Message\MessageInterface;
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
* @experimental in 5.1
|
||||
*/
|
||||
final class Transports implements TransportInterface
|
||||
{
|
||||
|
Reference in New Issue
Block a user