Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/old/vendor/magento/module-user/Model/Spi/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/vendor/magento/module-user/Model/Spi/NotificatorInterface.php
<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

declare(strict_types=1);

namespace Magento\User\Model\Spi;

use Magento\User\Api\Data\UserInterface;

/**
 * Use to send out notifications about user related events.
 *
 * @api
 */
interface NotificatorInterface
{
    /**
     * Send notification when a user requests password reset.
     *
     * @param UserInterface $user User that requested password reset.
     * @throws NotificationExceptionInterface
     *
     * @return void
     */
    public function sendForgotPassword(UserInterface $user): void;

    /**
     * Send a notification when a new user is created.
     *
     * @param UserInterface $user The new user.
     * @throws NotificationExceptionInterface
     *
     * @return void
     */
    public function sendCreated(UserInterface $user): void;

    /**
     * Send a notification when a user is updated.
     *
     * @param UserInterface $user The user updated.
     * @param string[] $changed List of changed properties.
     * @throws NotificationExceptionInterface
     *
     * @return void
     */
    public function sendUpdated(UserInterface $user, array $changed): void;
}

Spamworldpro Mini