Seditio Source
Root |
./othercms/croogo-4.0.7/vendor/wyrihaximus/twig-view/config/bootstrap.php
<?php

use Cake\Core\Configure;
use
Cake\Core\Plugin;
use
Cake\Event\EventManager;
use
WyriHaximus\TwigView\Event;

EventManager::instance()->on(new Event\ExtensionsListener());
EventManager::instance()->on(new Event\TokenParsersListener());

if (
Configure::read('debug') && Plugin::getCollection()->has('DebugKit')) {
   
Configure::write('DebugKit.panels', array_merge(
        (array)
Configure::read('DebugKit.panels'),
        [
           
'WyriHaximus/TwigView.Twig',
        ]
    ));
   
EventManager::instance()->on(new Event\ProfilerListener());
}