setCheckPermissions($checkPermissions); } /** * @param bool $checkPermissions * @return \Civi\Api4\Action\ContactCategory\Save */ public static function save($checkPermissions = TRUE) { return (new Save(static::getEntityName(), __FUNCTION__)) ->setCheckPermissions($checkPermissions); } /** * */ public static function sync(): Sync { return new Sync('ContactCategory', 'sync'); } /** * */ public static function getFlows(): GetFlows { return new GetFlows('ContactCategory', 'getFlows'); } }