There is at least one abstract method in this class. Maybe declare it as abstract, or implement the remaining methods: getCache, getConnection, getTransformer
Loading history...
21
{
22
/**
23
* @var string
24
*/
25
public $id;
26
27
/**
28
* @var array
29
*/
30
public $vids = [];
31
32
/**
33
* @var array
34
*/
35
public $emails = [];
36
37
/**
38
* @return string
39
*/
40
public function getId(): string
41
{
42
return (string)$this->id;
43
}
44
45
/**
46
* @return array
47
*/
48
public function getPayload(): array
49
{
50
return array_filter(
51
[
52
'vids' => array_filter($this->vids),
53
'emails' => array_filter($this->emails)
54
]
55
);
56
}
57
58
/**
59
* @param ElementInterface $element
60
* @param Objects $field
61
*/
62
public function addElement(ElementInterface $element, Objects $field)