* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ declare(strict_types=1); namespace PrestaShop\CircuitBreaker\Transition; use PrestaShop\CircuitBreaker\Contract\TransitionDispatcherInterface; /** * Class NullDispatcher is used when you have no TransitionDispatcher to inject * because you don't need it. */ class NullDispatcher implements TransitionDispatcherInterface { /** * {@inheritdoc} */ public function dispatchTransition(string $transition, string $service, array $serviceParameters): void { // Simply does nothing } }