mirror of
https://github.com/elyby/accounts.git
synced 2024-12-11 16:09:25 +05:30
21 lines
512 B
PHP
21 lines
512 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace common\models\confirmations;
|
|
|
|
use common\models\EmailActivation;
|
|
use common\models\EmailActivationQuery;
|
|
|
|
class RegistrationConfirmation extends EmailActivation {
|
|
|
|
public static function find(): EmailActivationQuery {
|
|
return parent::find()->withType(EmailActivation::TYPE_REGISTRATION_EMAIL_CONFIRMATION);
|
|
}
|
|
|
|
public function init(): void {
|
|
parent::init();
|
|
$this->type = EmailActivation::TYPE_REGISTRATION_EMAIL_CONFIRMATION;
|
|
}
|
|
|
|
}
|