2016-05-16 01:33:19 +03:00
|
|
|
<?php
|
2019-12-13 22:27:13 +03:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
2016-05-16 01:33:19 +03:00
|
|
|
namespace common\models\confirmations;
|
|
|
|
|
|
|
|
use common\behaviors\DataBehavior;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @property string $newEmail
|
|
|
|
*/
|
|
|
|
class NewEmailConfirmationBehavior extends DataBehavior {
|
|
|
|
|
2018-04-17 23:47:25 +03:00
|
|
|
public function getNewEmail(): string {
|
2016-05-16 01:33:19 +03:00
|
|
|
return $this->getKey('newEmail');
|
|
|
|
}
|
|
|
|
|
2018-04-17 23:47:25 +03:00
|
|
|
public function setNewEmail(string $newEmail): void {
|
2016-05-16 01:33:19 +03:00
|
|
|
$this->setKey('newEmail', $newEmail);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|