<commit_before><?php
/**
 * Zend Framework (http://framework.zend.com/)
 *
 * @link      http://github.com/zendframework/ZendSkeletonApplication for the canonical source repository
 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
 * @license   http://framework.zend.com/license/new-bsd New BSD License
 */

return array(
    'router' => array(
        'routes' => array(
            'home' => array(
                'type' => 'Zend\Mvc\Router\Http\Literal',
                'options' => array(
                    'route'    => '/',
                    'defaults' => array(
                        'controller' => 'Application\Controller\Index',
                        'action'     => 'index',
                    ),
                ),
            ),
            'register' => array(
                'type' => 'Literal',
                'options' => array(
                    'route' => '/register',
                    'defaults' => array(
                        'controller' => 'Application\Controller\Index',
                        'action' => 'register',
                    ),
                ),
                'may_terminate' => true,
                'child_routes' => array(
                    'default' => array(
                        'type'    => 'Segment',
                        'options' => array(
                            'route'    => '/[:controller[/:action]]',
                            'constraints' => array(
                                'controller' => '[a-zA-Z][a-zA-Z0-9_-]*',
                                'action'     => '[a-zA-Z][a-zA-Z0-9_-]*',
                            ),
                            'defaults' => array(
                            ),
                        ),
                    ),
                ),
            ),
            'events' => array(
                'type' => 'Literal',
                'options' => array(
                    'route' => '/events',
                    'defaults' => array(
                        'controller' => 'Application\Controller\Index',
                        'action' => 'events',
                    ),
                ),
            ),
            'uncon' => array(
                'type' => 'Literal',
                'options' => array(
                    'route' => '/uncon',
                    'defaults' => array(
                        'controller' => 'Application\Controller\Index',
                        'action' => 'uncon',
                    ),
                ),
            ),
            'venue' => array(
                'type' => 'Literal',
                'options' => array(
                    'route' => '/venue',
                    'defaults' => array(
                        'controller' => 'Application\Controller\Index',
                        'action' => 'venue',
                    ),
                ),
            ),
            'sitemap' => array(
                'type' => 'Literal',
                'options' => array(
                    'route' => '/sitemap',
                    'defaults' => array(
                        'controller' => 'Application\Controller\Index',
                        'action' => 'sitemap',
                    ),
                ),
            ),
        ),
    ),
    'navigation' => array(
        'default' => array(
            array(
                'label' => 'Home',
                'route' => 'home',
                'lastmod' => '2013-09-08',
                'changefreq' => 'monthly',
                'priority' => '1.0',
                'order' => '10',
            ),
            array(
                'label' => 'Location & Hotel',
                'route' => 'venue',
                'lastmod' => '2013-09-08',
                'changefreq' => 'monthly',
                'priority' => '0.5',
                'order' => '80',
            ),
            array(
                'label' => 'Events',
                'route' => 'events',
                'lastmod' => '2013-11-28',
                'changefreq' => 'monthly',
                'priority' => '0.5',
                'order' => '20',
            ),
            array(
                'label' => 'Uncon',
                'route' => 'uncon',
                'lastmod' => '2013-11-28',
                'changefreq' => 'monthly',
                'priority' => '0.5',
                'order' => '28',
            ),
            array(
                'label' => 'Pricing & Registration',
                'route' => 'register',
                'lastmod' => '2013-09-08',
                'changefreq' => 'daily',
                'priority' => '0.8',
                'order' => '90',
            ),
            array(
                'label' => 'Call for Papers',
                'uri' => 'http://cfp.sunshinephp.com',
                'order' => '1000',
            ),
        ),
    ),
    'service_manager' => array(
        'factories' => array(
            'navigation' => 'Zend\Navigation\Service\DefaultNavigationFactory',
        ),
        'abstract_factories' => array(
            'Zend\Cache\Service\StorageCacheAbstractServiceFactory',
            'Zend\Log\LoggerAbstractServiceFactory',
        ),
        'aliases' => array(
            'translator' => 'MvcTranslator',
        ),
    ),
    'translator' => array(
        'locale' => 'en_US',
        'translation_file_patterns' => array(
            array(
                'type'     => 'gettext',
                'base_dir' => __DIR__ . '/../language',
                'pattern'  => '%s.mo',
            ),
        ),
    ),
    'controllers' => array(
        'invokables' => array(
            'Application\Controller\Index' => 'Application\Controller\IndexController'
        ),
    ),
    'view_manager' => array(
        'display_not_found_reason' => true,
        'display_exceptions'       => true,
        'doctype'                  => 'HTML5',
        'not_found_template'       => 'error/404',
        'exception_template'       => 'error/index',<commit_msg>Added view helper for sidebar.<commit_after><?php
/**
 * Zend Framework (http://framework.zend.com/)
 *
 * @link      http://github.com/zendframework/ZendSkeletonApplication for the canonical source repository
 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
 * @license   http://framework.zend.com/license/new-bsd New BSD License
 */

return array(
    'router' => array(
        'routes' => array(
            'home' => array(
                'type' => 'Zend\Mvc\Router\Http\Literal',
                'options' => array(
                    'route'    => '/',
                    'defaults' => array(
                        'controller' => 'Application\Controller\Index',
                        'action'     => 'index',
                    ),
                ),
            ),
            'register' => array(
                'type' => 'Literal',
                'options' => array(
                    'route' => '/register',
                    'defaults' => array(
                        'controller' => 'Application\Controller\Index',
                        'action' => 'register',
                    ),
                ),
                'may_terminate' => true,
                'child_routes' => array(
                    'default' => array(
                        'type'    => 'Segment',
                        'options' => array(
                            'route'    => '/[:controller[/:action]]',
                            'constraints' => array(
                                'controller' => '[a-zA-Z][a-zA-Z0-9_-]*',
                                'action'     => '[a-zA-Z][a-zA-Z0-9_-]*',
                            ),
                            'defaults' => array(
                            ),
                        ),
                    ),
                ),
            ),
            'events' => array(
                'type' => 'Literal',
                'options' => array(
                    'route' => '/events',
                    'defaults' => array(
                        'controller' => 'Application\Controller\Index',
                        'action' => 'events',
                    ),
                ),
            ),
            'uncon' => array(
                'type' => 'Literal',
                'options' => array(
                    'route' => '/uncon',
                    'defaults' => array(
                        'controller' => 'Application\Controller\Index',
                        'action' => 'uncon',
                    ),
                ),
            ),
            'venue' => array(
                'type' => 'Literal',
                'options' => array(
                    'route' => '/venue',
                    'defaults' => array(
                        'controller' => 'Application\Controller\Index',
                        'action' => 'venue',
                    ),
                ),
            ),
            'sitemap' => array(
                'type' => 'Literal',
                'options' => array(
                    'route' => '/sitemap',
                    'defaults' => array(
                        'controller' => 'Application\Controller\Index',
                        'action' => 'sitemap',
                    ),
                ),
            ),
        ),
    ),
    'navigation' => array(
        'default' => array(
            array(
                'label' => 'Home',
                'route' => 'home',
                'lastmod' => '2013-09-08',
                'changefreq' => 'monthly',
                'priority' => '1.0',
                'order' => '10',
            ),
            array(
                'label' => 'Location & Hotel',
                'route' => 'venue',
                'lastmod' => '2013-09-08',
                'changefreq' => 'monthly',
                'priority' => '0.5',
                'order' => '80',
            ),
            array(
                'label' => 'Events',
                'route' => 'events',
                'lastmod' => '2013-11-28',
                'changefreq' => 'monthly',
                'priority' => '0.5',
                'order' => '20',
            ),
            array(
                'label' => 'Uncon',
                'route' => 'uncon',
                'lastmod' => '2013-11-28',
                'changefreq' => 'monthly',
                'priority' => '0.5',
                'order' => '28',
            ),
            array(
                'label' => 'Pricing & Registration',
                'route' => 'register',
                'lastmod' => '2013-09-08',
                'changefreq' => 'daily',
                'priority' => '0.8',
                'order' => '90',
            ),
            array(
                'label' => 'Call for Papers',
                'uri' => 'http://cfp.sunshinephp.com',
                'order' => '1000',
            ),
        ),
    ),
    'service_manager' => array(
        'factories' => array(
            'navigation' => 'Zend\Navigation\Service\DefaultNavigationFactory',
        ),
        'abstract_factories' => array(
            'Zend\Cache\Service\StorageCacheAbstractServiceFactory',
            'Zend\Log\LoggerAbstractServiceFactory',
        ),
        'aliases' => array(
            'translator' => 'MvcTranslator',
        ),
    ),
    'translator' => array(
        'locale' => 'en_US',
        'translation_file_patterns' => array(
            array(
                'type'     => 'gettext',
                'base_dir' => __DIR__ . '/../language',
                'pattern'  => '%s.mo',
            ),
        ),
    ),
    'controllers' => array(
        'invokables' => array(
            'Application\Controller\Index' => 'Application\Controller\IndexController'
        ),
    ),
    'view_helpers' => array(
        'invokables' => array(
            'sidebar' => 'Application\View\Helper\Sidebar',
        ),
    ),
    'view_manager' => array(
        'display_not_found_reason' => true,
        'display_exceptions'       => true,
        'doctype'                  => 'HTML5',
        'not_found_template'       => 'error/404',
        'exception_template'       => 'error/index',
{'fraction_non_alphanumeric': 0.15549355871010093, 'fraction_numerical': 0.01312874374333306, 'mean_word_length': 0.9830784249918646, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 226, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '663726', 'n_tokens_mistral': 3302, 'n_tokens_neox': 3056, 'n_words': 529}