<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;

/* @bundles/IntegrationsBundle/Event/SyncEvent.php */
class __TwigTemplate_00ce9ba89cf278e83724ccc501bb92dd22dd0a6ba65b5ef42edd93bb36803600 extends Template
{
    private $source;
    private $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 1
        echo "<?php

declare(strict_types=1);

namespace Mautic\\IntegrationsBundle\\Event;

use Symfony\\Component\\EventDispatcher\\Event;

class SyncEvent extends Event
{
    /** @var string */
    private \$integrationName;
    /**
     * @var \\DateTimeInterface|null
     */
    private \$fromDateTime;
    /**
     * @var \\DateTimeInterface|null
     */
    private \$toDateTime;

    public function __construct(string \$integrationName, ?\\DateTimeInterface \$fromDateTime = null, ?\\DateTimeInterface \$toDateTime = null)
    {
        \$this->integrationName = \$integrationName;
        \$this->fromDateTime    = \$fromDateTime;
        \$this->toDateTime      = \$toDateTime;
    }

    public function getIntegrationName(): string
    {
        return \$this->integrationName;
    }

    public function isIntegration(string \$integrationName): bool
    {
        return \$this->getIntegrationName() === \$integrationName;
    }

    public function getFromDateTime(): ?\\DateTimeInterface
    {
        return \$this->fromDateTime;
    }

    public function getToDateTime(): ?\\DateTimeInterface
    {
        return \$this->toDateTime;
    }
}
";
    }

    public function getTemplateName()
    {
        return "@bundles/IntegrationsBundle/Event/SyncEvent.php";
    }

    public function getDebugInfo()
    {
        return array (  37 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("", "@bundles/IntegrationsBundle/Event/SyncEvent.php", "/var/www/mautic/app/bundles/IntegrationsBundle/Event/SyncEvent.php");
    }
}
