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

namespace Application;

use Zend\Mvc\ModuleRouteListener;
use Zend\Mvc\MvcEvent;

class Module
{
    public function onBootstrap(MvcEvent $e)
    {
        $eventManager        = $e->getApplication()->getEventManager();
        $moduleRouteListener = new ModuleRouteListener();
        $moduleRouteListener->attach($eventManager);
		public function onBootstrap(MvcEvent $e)

		$e->getApplication()->getServiceManager()->get('viewhelpermanager')->setFactory('renderElements', function($sm) use ($e) {
			$viewHelper = new View\Helper\RenderElements($e->getApplication()->getServiceManager());
			return $viewHelper;
		});
		$e->getApplication()->getServiceManager()->get('viewhelpermanager')->setFactory('getChangeTime', function($sm) use ($e) {
			$viewHelper = new View\Helper\GetChangeTime();<commit_msg>Fixed small mistake when activating view helpers<commit_after><?php
/**
 * Zend Framework (http://framework.zend.com/)
 *
 * @link      http://github.com/zendframework/ZendSkeletonApplication for the canonical source repository
 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
 * @license   http://framework.zend.com/license/new-bsd New BSD License
 */

namespace Application;

use Zend\Mvc\ModuleRouteListener;
use Zend\Mvc\MvcEvent;

class Module
{
    public function onBootstrap(MvcEvent $e)
    {
        $eventManager        = $e->getApplication()->getEventManager();
        $moduleRouteListener = new ModuleRouteListener();
        $moduleRouteListener->attach($eventManager);

		$e->getApplication()->getServiceManager()->get('viewhelpermanager')->setFactory('renderElements', function($sm) use ($e) {
			$viewHelper = new View\Helper\RenderElements($e->getApplication()->getServiceManager());
			return $viewHelper;
		});
		$e->getApplication()->getServiceManager()->get('viewhelpermanager')->setFactory('getChangeTime', function($sm) use ($e) {
			$viewHelper = new View\Helper\GetChangeTime();
{'fraction_non_alphanumeric': 0.15039232781168266, 'fraction_numerical': 0.006974716652136007, 'mean_word_length': 4.810126582278481, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 29, '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': '97767', 'n_tokens_mistral': 683, 'n_tokens_neox': 641, 'n_words': 127}