<?php

namespace DropshippingExportFreeVendor\WPDesk\Library\DropshippingExport\Infrastructure\Service\Listener\Abstraction;

use DropshippingExportFreeVendor\WPDesk\Library\DropshippingExport\Infrastructure\Service\Container\Abstraction\ServiceContainerInterface;
/**
 * Class AbstractServiceListener, abstraction layer for service listener.
 *
 * @package WPDesk\Library\DropshippingExport\Infrastructure\Service\Listener
 */
abstract class AbstractServiceListener
{
    /**
     * Stop propagation, if true then listener stops checking next listeners, if false go to the next listener.
     *
     * @return bool
     */
    public function stop_propagation(): bool
    {
        return \false;
    }
    /**
     * @param Object                    $service
     * @param ServiceContainerInterface $service_container
     *
     * @return void
     */
    abstract public function update($service, ServiceContainerInterface $service_container);
}
