mirror of
https://github.com/elyby/accounts.git
synced 2024-11-06 16:21:08 +05:30
20 lines
385 B
PHP
20 lines
385 B
PHP
<?php
|
|
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);
|
|
}
|
|
|
|
}
|