records = [ [ 'id' => self::OBJECT_TEMPLATE_1_ID, 'user_id' => UsersFixture::USER_ADMIN_ID, 'org_id' => OrganisationsFixture::ORGANISATION_A_ID, 'uuid' => $faker->uuid(), 'name' => self::OBJECT_TEMPLATE_1_NAME, 'meta_category' => 'test', 'description' => 'test description (active)', 'version' => '1', 'requirements' => json_encode(['requiredOneOf' => ['ip-src', 'ip-dst']]), 'fixed' => 0, 'active' => 1 ], [ 'id' => self::OBJECT_TEMPLATE_2_ID, 'user_id' => UsersFixture::USER_ADMIN_ID, 'org_id' => OrganisationsFixture::ORGANISATION_A_ID, 'uuid' => $faker->uuid(), 'name' => self::OBJECT_TEMPLATE_2_NAME, 'meta_category' => 'test', 'description' => 'test description', 'version' => '1', 'requirements' => json_encode([]), 'fixed' => 0, 'active' => 0 ] ]; parent::init(); } }