<?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/PointBundle/Config/config.php */
class __TwigTemplate_5b2985203ac60a0e40e0e36abe856d74 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

return [
    'routes' => [
        'main' => [
            'mautic_pointtriggerevent_action' => [
                'path'       => '/points/triggers/events/{objectAction}/{objectId}',
                'controller' => 'MauticPointBundle:TriggerEvent:execute',
            ],
            'mautic_pointtrigger_index' => [
                'path'       => '/points/triggers/{page}',
                'controller' => 'MauticPointBundle:Trigger:index',
            ],
            'mautic_pointtrigger_action' => [
                'path'       => '/points/triggers/{objectAction}/{objectId}',
                'controller' => 'MauticPointBundle:Trigger:execute',
            ],
            'mautic_point_index' => [
                'path'       => '/points/{page}',
                'controller' => 'MauticPointBundle:Point:index',
            ],
            'mautic_point_action' => [
                'path'       => '/points/{objectAction}/{objectId}',
                'controller' => 'MauticPointBundle:Point:execute',
            ],
        ],
        'api' => [
            'mautic_api_pointactionsstandard' => [
                'standard_entity' => true,
                'name'            => 'points',
                'path'            => '/points',
                'controller'      => 'MauticPointBundle:Api\\PointApi',
            ],
            'mautic_api_getpointactiontypes' => [
                'path'       => '/points/actions/types',
                'controller' => 'MauticPointBundle:Api\\PointApi:getPointActionTypes',
            ],
            'mautic_api_pointtriggersstandard' => [
                'standard_entity' => true,
                'name'            => 'triggers',
                'path'            => '/points/triggers',
                'controller'      => 'MauticPointBundle:Api\\TriggerApi',
            ],
            'mautic_api_getpointtriggereventtypes' => [
                'path'       => '/points/triggers/events/types',
                'controller' => 'MauticPointBundle:Api\\TriggerApi:getPointTriggerEventTypes',
            ],
            'mautic_api_pointtriggerdeleteevents' => [
                'path'       => '/points/triggers/{triggerId}/events/delete',
                'controller' => 'MauticPointBundle:Api\\TriggerApi:deletePointTriggerEvents',
                'method'     => 'DELETE',
            ],
            'mautic_api_adjustcontactpoints' => [
                'path'       => '/contacts/{leadId}/points/{operator}/{delta}',
                'controller' => 'MauticPointBundle:Api\\PointApi:adjustPoints',
                'method'     => 'POST',
            ],
        ],
    ],

    'menu' => [
        'main' => [
            'mautic.points.menu.root' => [
                'id'        => 'mautic_points_root',
                'iconClass' => 'fa-calculator',
                'access'    => ['point:points:view', 'point:triggers:view'],
                'priority'  => 30,
                'children'  => [
                    'mautic.point.menu.index' => [
                        'route'  => 'mautic_point_index',
                        'access' => 'point:points:view',
                    ],
                    'mautic.point.trigger.menu.index' => [
                        'route'  => 'mautic_pointtrigger_index',
                        'access' => 'point:triggers:view',
                    ],
                ],
            ],
        ],
    ],

    'categories' => [
        'point' => null,
    ],

    'services' => [
        'events' => [
            'mautic.point.subscriber' => [
                'class'     => \\Mautic\\PointBundle\\EventListener\\PointSubscriber::class,
                'arguments' => [
                    'mautic.helper.ip_lookup',
                    'mautic.core.model.auditlog',
                ],
            ],
            'mautic.point.leadbundle.subscriber' => [
                'class'     => \\Mautic\\PointBundle\\EventListener\\LeadSubscriber::class,
                'arguments' => [
                    'mautic.point.model.trigger',
                    'translator',
                    'mautic.lead.repository.points_change_log',
                    'mautic.point.repository.lead_point_log',
                    'mautic.point.repository.lead_trigger_log',
                ],
            ],
            'mautic.point.search.subscriber' => [
                'class'     => \\Mautic\\PointBundle\\EventListener\\SearchSubscriber::class,
                'arguments' => [
                    'mautic.point.model.point',
                    'mautic.point.model.trigger',
                    'mautic.security',
                    'mautic.helper.templating',
                ],
            ],
            'mautic.point.dashboard.subscriber' => [
                'class'     => \\Mautic\\PointBundle\\EventListener\\DashboardSubscriber::class,
                'arguments' => [
                    'mautic.point.model.point',
                ],
            ],
            'mautic.point.stats.subscriber' => [
                'class'     => \\Mautic\\PointBundle\\EventListener\\StatsSubscriber::class,
                'arguments' => [
                    'mautic.security',
                    'doctrine.orm.entity_manager',
                ],
            ],
        ],
        'forms' => [
            'mautic.point.type.form' => [
                'class'     => \\Mautic\\PointBundle\\Form\\Type\\PointType::class,
                'arguments' => ['mautic.security'],
            ],
            'mautic.point.type.action' => [
                'class' => \\Mautic\\PointBundle\\Form\\Type\\PointActionType::class,
            ],
            'mautic.pointtrigger.type.form' => [
                'class'     => \\Mautic\\PointBundle\\Form\\Type\\TriggerType::class,
                'arguments' => [
                  'mautic.security',
                ],
            ],
            'mautic.pointtrigger.type.action' => [
                'class' => \\Mautic\\PointBundle\\Form\\Type\\TriggerEventType::class,
            ],
            'mautic.point.type.genericpoint_settings' => [
                'class' => \\Mautic\\PointBundle\\Form\\Type\\GenericPointSettingsType::class,
            ],
        ],
        'models' => [
            'mautic.point.model.point' => [
                'class'     => \\Mautic\\PointBundle\\Model\\PointModel::class,
                'arguments' => [
                    'session',
                    'mautic.helper.ip_lookup',
                    'mautic.lead.model.lead',
                    'mautic.factory',
                    'mautic.tracker.contact',
                ],
            ],
            'mautic.point.model.triggerevent' => [
                'class' => \\Mautic\\PointBundle\\Model\\TriggerEventModel::class,
            ],
            'mautic.point.model.trigger' => [
                'class'     => \\Mautic\\PointBundle\\Model\\TriggerModel::class,
                'arguments' => [
                    'mautic.helper.ip_lookup',
                    'mautic.lead.model.lead',
                    'mautic.point.model.triggerevent',
                    'mautic.factory',
                    'mautic.tracker.contact',
                ],
            ],
        ],
        'repositories' => [
            'mautic.point.repository.lead_point_log' => [
                'class'     => Doctrine\\ORM\\EntityRepository::class,
                'factory'   => ['@doctrine.orm.entity_manager', 'getRepository'],
                'arguments' => [
                    \\Mautic\\PointBundle\\Entity\\LeadPointLog::class,
                ],
            ],
            'mautic.point.repository.lead_trigger_log' => [
                'class'     => Doctrine\\ORM\\EntityRepository::class,
                'factory'   => ['@doctrine.orm.entity_manager', 'getRepository'],
                'arguments' => [
                    \\Mautic\\PointBundle\\Entity\\LeadTriggerLog::class,
                ],
            ],
        ],
    ],
];
";
    }

    public function getTemplateName()
    {
        return "@bundles/PointBundle/Config/config.php";
    }

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

    public function getSourceContext()
    {
        return new Source("", "@bundles/PointBundle/Config/config.php", "/var/www/mautic/app/bundles/PointBundle/Config/config.php");
    }
}
