mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-01-17 10:08:05 +00:00
48 lines
No EOL
860 B
Text
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)
|
|
{
|
|
/*
|
|
|
|
*/
|
|
} |