flexisip-account-manager/flexiapi/config/account_service_hooks.php.example

48 lines
No EOL
860 B
Text

<?php
use App\Account;
use App\Password;
use Illuminate\Http\Request;
/**
* This file contains hooks functions used by the Account Service
*/
/**
* @brief Run specific code once a fresh account is created
* @param Request $request
* @param Account $account
* @return void
*/
function accountServiceAccountCreatedHook(Request $request, Account $account)
{
/*
*/
}
/**
* @brief Run specific code if an account was edited
* @param Request $request
* @param Account $account
* @return void
*/
function accountServiceAccountEditedHook(Request $request, Account $account)
{
/*
*/
}
/**
* @brief Run specific code if an account was destroed
* @param Request $request
* @param Account $account
* @return void
*/
function accountServiceAccountDestroyedHook(Request $request, Account $account)
{
/*
*/
}