mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-13 20:59:12 +08:00
removed wrong use statement for MailEvent
This commit is contained in:
@@ -12,7 +12,6 @@ use yii\base\Component;
|
|||||||
use yii\base\InvalidConfigException;
|
use yii\base\InvalidConfigException;
|
||||||
use yii\base\ViewContextInterface;
|
use yii\base\ViewContextInterface;
|
||||||
use yii\web\View;
|
use yii\web\View;
|
||||||
use yii\base\MailEvent;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* BaseMailer serves as a base class that implements the basic functions required by [[MailerInterface]].
|
* BaseMailer serves as a base class that implements the basic functions required by [[MailerInterface]].
|
||||||
@@ -32,12 +31,12 @@ use yii\base\MailEvent;
|
|||||||
abstract class BaseMailer extends Component implements MailerInterface, ViewContextInterface
|
abstract class BaseMailer extends Component implements MailerInterface, ViewContextInterface
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @event \yii\base\MailEvent an event raised right before send.
|
* @event MailEvent an event raised right before send.
|
||||||
* You may set [[\yii\base\MailEvent::isValid]] to be false to cancel the send.
|
* You may set [[MailEvent::isValid]] to be false to cancel the send.
|
||||||
*/
|
*/
|
||||||
const EVENT_BEFORE_SEND = 'beforeSend';
|
const EVENT_BEFORE_SEND = 'beforeSend';
|
||||||
/**
|
/**
|
||||||
* @event \yii\base\MailEvent an event raised right after send.
|
* @event MailEvent an event raised right after send.
|
||||||
*/
|
*/
|
||||||
const EVENT_AFTER_SEND = 'afterSend';
|
const EVENT_AFTER_SEND = 'afterSend';
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user