yiicod/yii2-auth

View on GitHub
events/RequestPasswordResetEvent.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace yiicod\auth\events;

use yii\base\ActionEvent;
use yiicod\auth\models\PasswordResetRequestForm;

class RequestPasswordResetEvent extends ActionEvent
{
    /**
     * @var PasswordResetRequestForm
     */
    public $model;

    public function __construct($action, $model, array $config = [])
    {
        $this->action = $action;
        $this->model = $model;

        parent::__construct($action, $config);
    }
}