<?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/LeadBundle/Event/ContactIdentificationEvent.php */
class __TwigTemplate_b35e6133cf392df3420c71c0da3b6d87bbc53b93695de2513d8be051eb3af746 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

namespace Mautic\\LeadBundle\\Event;

use Mautic\\LeadBundle\\Entity\\Lead;
use Symfony\\Component\\EventDispatcher\\Event;

class ContactIdentificationEvent extends Event
{
    /**
     * @var array
     */
    private \$clickthrough;

    /**
     * @var Lead
     */
    private \$identifiedContact;

    /**
     * @var string
     */
    private \$identifiedByChannel;

    /**
     * ContactIdentificationEvent constructor.
     */
    public function __construct(array \$clickthrough)
    {
        \$this->clickthrough = \$clickthrough;
    }

    /**
     * @return array
     */
    public function getClickthrough()
    {
        return \$this->clickthrough;
    }

    /**
     * @param string \$channel
     */
    public function setIdentifiedContact(Lead \$contact, \$channel)
    {
        \$this->identifiedContact   = \$contact;
        \$this->identifiedByChannel = \$channel;

        \$this->stopPropagation();
    }

    /**
     * @return string
     */
    public function getIdentifier()
    {
        return \$this->identifiedByChannel;
    }

    /**
     * @return Lead
     */
    public function getIdentifiedContact()
    {
        return \$this->identifiedContact;
    }
}
";
    }

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

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

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