accounts/common/models/confirmations/NewEmailConfirmationBehavior.php

20 lines
380 B
PHP
Raw Normal View History

<?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) {
$this->setKey('newEmail', $newEmail);
}
}