2016-05-16 04:03:19 +05:30
|
|
|
<?php
|
2019-12-14 00:57:13 +05:30
|
|
|
declare(strict_types=1);
|
|
|
|
|
2016-05-16 04:03:19 +05:30
|
|
|
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 {
|
2016-05-16 04:03:19 +05:30
|
|
|
return $this->getKey('newEmail');
|
|
|
|
}
|
|
|
|
|
2018-04-18 02:17:25 +05:30
|
|
|
public function setNewEmail(string $newEmail): void {
|
2016-05-16 04:03:19 +05:30
|
|
|
$this->setKey('newEmail', $newEmail);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|