Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
bc00449c
Commit
bc00449c
authored
Jun 25, 2014
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed wrong use statement for MailEvent
parent
7e4bdef4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
BaseMailer.php
framework/mail/BaseMailer.php
+3
-4
No files found.
framework/mail/BaseMailer.php
View file @
bc00449c
...
@@ -12,7 +12,6 @@ use yii\base\Component;
...
@@ -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;
...
@@ -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'
;
/**
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment