private static function processor(ContainerInterface $container): ProcessorInterface
    {
        if (!$container->has(ProcessorInterface::class)) {
            return new WebProcessor($container);
        }

        return $container->get(ProcessorInterface::class);
    }
private static function processor(ContainerInterface $container): ProcessorInterface
    {
        if (!$container->has(ProcessorInterface::class)) {
            return new WebProcessor($container);
        }

        return $container->get(ProcessorInterface::class);
    }
private static function processor ( ContainerInterface $ container ) : ProcessorInterface { if ( ! $ container -> has ( ProcessorInterface :: class ) ) { return new WebProcessor ( $ container ) ; } return $ container -> get ( ProcessorInterface :: class ) ; }
Return an instance of the ProcessorInterface.

@throws ContainerExceptionInterface
@throws NotFoundExceptionInterface
Return an instance of the ProcessorInterface .