Files
magento2/app/code/Magento/Security/Model/PasswordResetRequestEvent.php
Oleksii Korshenko 4b5626478a MAGETWO-71174: Update doc block information in php classes with @deprecated and @since tags
- replaced release version with package version in @since and @depreacated tags
 - removed @since tag from private properties/methods  and non @api classes
2017-08-04 19:15:55 -05:00

49 lines
1.1 KiB
PHP

<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Security\Model;
/**
* PasswordResetRequestEvent Model
*
* @method string getAccountReference()
* @method PasswordResetRequestEvent setAccountReference(string $reference)
* @method int getRequestType()
* @method string getCreatedAt()
* @method PasswordResetRequestEvent setRequestType(int $requestType)
* @method string getIp()
* @method PasswordResetRequestEvent setIp(int $ip)
*
* @api
* @since 100.1.0
*/
class PasswordResetRequestEvent extends \Magento\Framework\Model\AbstractModel
{
/**
* Type of the event under a security control definition
*/
/**
* Customer request a password reset
*/
const CUSTOMER_PASSWORD_RESET_REQUEST = 0;
/**
* Admin User request a password reset
*/
const ADMIN_PASSWORD_RESET_REQUEST = 1;
/**
* Initialize resource model
*
* @return void
* @since 100.1.0
*/
protected function _construct()
{
$this->_init(\Magento\Security\Model\ResourceModel\PasswordResetRequestEvent::class);
}
}