<commit_before><?php
/**
 * Nooku Framework - http://www.nooku.org
 *
 * @copyright	Copyright (C) 2011 - 2013 <NAME> and Timble CVBA. (http://www.timble.net)
 * @license		GNU GPLv3 <http://www.gnu.org/licenses/gpl.html>
 * @link		git://git.assembla.com/nooku-framework.git for the canonical source repository
 */

use Nooku\Library;

/**
 * Bootstrapper
 *
 * @author  <NAME> <http://nooku.assembla.com/profile/johanjanssens>
 * @package Component\Articles
 */
 class ArticlesBootstrapper extends Library\BootstrapperAbstract
{
    public function bootstrap()
    {
        $manager = $this->getObjectManager();

        $manager->registerAlias('com:articles.model.tags'           , 'com:tags.model.tags');
        $manager->registerAlias('com:articles.model.categories'     , 'com:categories.model.categories');
        $manager->registerAlias('com:articles.controller.attachment', 'com:attachments.controller.attachment');
        $manager->registerAlias('com:articles.view.attachment.file' , 'com:attachments.view.attachment.file');
    }
}<commit_msg>Code cleanup<commit_after><?php
/**
 * Nooku Framework - http://www.nooku.org
 *
 * @copyright	Copyright (C) 2011 - 2013 <NAME> and Timble CVBA. (http://www.timble.net)
 * @license		GNU GPLv3 <http://www.gnu.org/licenses/gpl.html>
 * @link		git://git.assembla.com/nooku-framework.git for the canonical source repository
 */

use Nooku\Library;

/**
 * Bootstrapper
 *
 * @author  <NAME> <http://nooku.assembla.com/profile/johanjanssens>
 * @package Component\Articles
 */
 class ArticlesBootstrapper extends Library\BootstrapperAbstract
{
    public function bootstrap()
    {
        $manager = $this->getObjectManager();

        $manager->registerAlias('com:articles.model.tags'           , 'com:tags.model.tags');
        $manager->registerAlias('com:articles.model.categories'     , 'com:categories.model.categories');
        $manager->registerAlias('com:articles.controller.attachment', 'com:attachments.controller.attachment');
    }
}
{'fraction_non_alphanumeric': 0.15565565565565564, 'fraction_numerical': 0.009009009009009009, 'mean_word_length': 3.7822966507177034, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 20, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, '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': '975053', 'n_tokens_mistral': 660, 'n_tokens_neox': 623, 'n_words': 99}