accounts/common/models/confirmations/NewEmailConfirmationBehavior.php

22 lines
411 B
PHP
Raw Normal View History

<?php
2019-12-14 00:57:13 +05:30
declare(strict_types=1);
namespace common\models\confirmations;
use common\behaviors\DataBehavior;
/**
* @property string $newEmail
*/
class NewEmailConfirmationBehavior extends DataBehavior {
2018-04-18 02:17:25 +05:30
public function getNewEmail(): string {
return $this->getKey('newEmail');
}
2018-04-18 02:17:25 +05:30
public function setNewEmail(string $newEmail): void {
$this->setKey('newEmail', $newEmail);
}
}