accounts/common/models/confirmations/NewEmailConfirmationBehavior.php

20 lines
385 B
PHP
Raw Normal View History

<?php
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);
}
}