mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-26 14:40:29 +01:00
36 lines
568 B
PHP
36 lines
568 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Xentral\Modules\Pipedrive\Scheduler;
|
|
|
|
use ArrayObject;
|
|
|
|
interface PipedriveSchedulerTaskInterface
|
|
{
|
|
|
|
/**
|
|
* @return void
|
|
*/
|
|
public function execute(): void;
|
|
|
|
/**
|
|
* @return void
|
|
*/
|
|
public function cleanup(): void;
|
|
|
|
/**
|
|
* @param ArrayObject $data
|
|
*
|
|
* @return mixed
|
|
*/
|
|
public function beforeScheduleAction(ArrayObject $data);
|
|
|
|
/**
|
|
* @param ArrayObject $data
|
|
*
|
|
* @return mixed
|
|
*/
|
|
public function afterScheduleAction(ArrayObject $data);
|
|
}
|