add throw
This commit is contained in:
@@ -29,9 +29,13 @@
|
||||
|
||||
namespace Espo\Tools\EntityManager\Hook;
|
||||
|
||||
use Espo\Core\Exceptions\Error;
|
||||
use Espo\Tools\EntityManager\Params;
|
||||
|
||||
interface CreateHook
|
||||
{
|
||||
/**
|
||||
* @throws Error
|
||||
*/
|
||||
public function process(Params $params): void;
|
||||
}
|
||||
|
||||
@@ -29,9 +29,13 @@
|
||||
|
||||
namespace Espo\Tools\EntityManager\Hook;
|
||||
|
||||
use Espo\Core\Exceptions\Error;
|
||||
use Espo\Tools\EntityManager\Params;
|
||||
|
||||
interface DeleteHook
|
||||
{
|
||||
/**
|
||||
* @throws Error
|
||||
*/
|
||||
public function process(Params $params): void;
|
||||
}
|
||||
|
||||
@@ -29,9 +29,13 @@
|
||||
|
||||
namespace Espo\Tools\EntityManager\Hook;
|
||||
|
||||
use Espo\Core\Exceptions\Error;
|
||||
use Espo\Tools\EntityManager\Params;
|
||||
|
||||
interface UpdateHook
|
||||
{
|
||||
/**
|
||||
* @throws Error
|
||||
*/
|
||||
public function process(Params $params, Params $previousParams): void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user