mirror of
https://github.com/elyby/accounts.git
synced 2024-12-04 20:49:48 +05:30
22 lines
411 B
PHP
22 lines
411 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace common\models\confirmations;
|
|
|
|
use common\behaviors\DataBehavior;
|
|
|
|
/**
|
|
* @property string $newEmail
|
|
*/
|
|
class NewEmailConfirmationBehavior extends DataBehavior {
|
|
|
|
public function getNewEmail(): string {
|
|
return $this->getKey('newEmail');
|
|
}
|
|
|
|
public function setNewEmail(string $newEmail): void {
|
|
$this->setKey('newEmail', $newEmail);
|
|
}
|
|
|
|
}
|