File size: 422 Bytes
d2897cd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php

declare(strict_types=1);

namespace Mautic\CoreBundle\Entity;

interface UpsertInterface
{
    public const ROWS_AFFECTED_ON_INSERT = 1;

    public const ROWS_AFFECTED_ON_UPDATE = 2;

    public function hasBeenInserted(): bool;

    public function hasBeenUpdated(): bool;

    public function setHasBeenUpdated(bool $hasBeenUpdated): void;

    public function setHasBeenInserted(bool $hasBeenInserted): void;
}