PasswordChangedNotification   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 8
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getSubject() 0 3 1
1
<?php
2
3
namespace yrc\jobs\notifications\email;
4
5
use Yii;
6
use yrc\jobs\notifications\email\AbstractEmailNotification;
7
8
class PasswordChangedNotification extends AbstractEmailNotification
9
{
10
    protected function getSubject()
11
    {
12
        return Yii::t('yrc', 'Password Changed Notification');
13
    }
14
15
    protected $viewFile = 'PasswordChanged.twig';
16
}
17