2016-05-10 22:40:06 +03:00
|
|
|
<?php
|
2019-12-13 22:27:13 +03:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
2016-05-10 22:40:06 +03:00
|
|
|
namespace common\models\confirmations;
|
|
|
|
|
|
|
|
use common\models\EmailActivation;
|
2019-12-13 22:27:13 +03:00
|
|
|
use common\models\EmailActivationQuery;
|
2016-05-10 22:40:06 +03:00
|
|
|
|
|
|
|
class RegistrationConfirmation extends EmailActivation {
|
|
|
|
|
2019-12-13 22:27:13 +03:00
|
|
|
public static function find(): EmailActivationQuery {
|
|
|
|
return parent::find()->withType(EmailActivation::TYPE_REGISTRATION_EMAIL_CONFIRMATION);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function init(): void {
|
2016-05-10 22:40:06 +03:00
|
|
|
parent::init();
|
|
|
|
$this->type = EmailActivation::TYPE_REGISTRATION_EMAIL_CONFIRMATION;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|