Spaces:
No application file
No application file
File size: 970 Bytes
d2897cd |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
<?php
declare(strict_types=1);
namespace Mautic\IntegrationsBundle\Sync\SyncDataExchange\Internal\ObjectHelper;
use Mautic\IntegrationsBundle\Entity\ObjectMapping;
use Mautic\IntegrationsBundle\Sync\DAO\Mapping\UpdatedObjectMappingDAO;
use Mautic\IntegrationsBundle\Sync\DAO\Sync\Order\ObjectChangeDAO;
interface ObjectHelperInterface
{
/**
* @param ObjectChangeDAO[] $objects
*
* @return ObjectMapping[]
*/
public function create(array $objects): array;
/**
* @param ObjectChangeDAO[] $objects
*
* @return UpdatedObjectMappingDAO[]
*/
public function update(array $ids, array $objects): array;
/**
* @param int $start
* @param int $limit
*/
public function findObjectsBetweenDates(\DateTimeInterface $from, \DateTimeInterface $to, $start, $limit): array;
public function findObjectsByIds(array $ids): array;
public function findObjectsByFieldValues(array $fields): array;
}
|