3 namespace Civi\Api4\Action\MockArrayEntity
;
6 * This class demonstrates how the getRecords method of Basic\Get can be overridden.
8 class Get
extends \Civi\Api4\Generic\BasicGetAction
{
10 public function getRecords() {
16 'field4' => [1, 2, 3],
23 'field4' => [2, 3, 4],
30 'field4' => [3, 4, 5],
36 'field2' => 'wildebeest',
38 'field4' => [4, 5, 6],
46 'field4' => [4, 5, 6],