<?php

namespace KupShop\AutomationConfiguratorBundle\Configurator\Interfaces\Triggers;

use KupShop\AutomationConfiguratorBundle\Configurator\Interfaces\Config\TriggerConfig;

abstract class Trigger implements TriggerInterface
{
    public function modifyPrefetchContext($context, $triggerPrefetchContext)
    {
    }

    public function isRunnable(TriggerConfig $triggerConfig, $triggerContext)
    {
        return true;
    }

    public function getLogDescription($triggerContext)
    {
        return '';
    }

    public function shouldQueriesGoToMaster()
    {
        return false;
    }

    public function getMaxFilteredObjectsLimit(): int|false|null
    {
        return null;
    }

    public function getDbFetchLimit(): int|false|null
    {
        return null;
    }
}
