OpenXE/classes/Modules/Pipedrive/Scheduler/PipedriveSchedulerTaskInterface.php

36 lines
568 B
PHP
Raw Normal View History

2021-05-21 08:49:41 +02:00
<?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);
}