<commit_before><?php
/*
 * This file is part of the BusinessDropCapBundle and it is distributed
 * under the GPL LICENSE Version 2.0. To use this application you must leave
 * intact this copyright notice.
 *
 * Copyright (c) AlphaLemon <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 *
 * For extra documentation and help please visit http://www.alphalemon.com
 * 
 * @license    GPL LICENSE Version 2.0
 * 
 */

namespace AlphaLemon\ElFinderBundle\Core\Listener; 

use AlphaLemon\BootstrapBundle\Core\Event\PackageInstalledEvent;

/**
 * Manipulates the block's editor response when the editor has been rendered 
 *
 * @author AlphaLemon <<EMAIL>>
 */
class PackageInstalledListener 
{
    public function onPackageInstalled(PackageInstalledEvent $event)
    {
        chdir(__DIR__ . '/../../');
        
        $process = new Process('git submodule init');
        $process->run();
        
        $process = new Process('git submodule update');
        $process->run();
    }
}<commit_msg>added use directive for Process class<commit_after><?php
/*
 * This file is part of the BusinessDropCapBundle and it is distributed
 * under the GPL LICENSE Version 2.0. To use this application you must leave
 * intact this copyright notice.
 *
 * Copyright (c) AlphaLemon <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 *
 * For extra documentation and help please visit http://www.alphalemon.com
 * 
 * @license    GPL LICENSE Version 2.0
 * 
 */

namespace AlphaLemon\ElFinderBundle\Core\Listener; 

use AlphaLemon\BootstrapBundle\Core\Event\PackageInstalledEvent;
use Symfony\Component\Process\Process;

/**
 * Manipulates the block's editor response when the editor has been rendered 
 *
 * @author AlphaLemon <<EMAIL>>
 */
class PackageInstalledListener 
{
    public function onPackageInstalled(PackageInstalledEvent $event)
    {
        chdir(__DIR__ . '/../../');
        
        $process = new Process('git submodule init');
        $process->run();
        
        $process = new Process('git submodule update');
        $process->run();
    }
}
{'fraction_non_alphanumeric': 0.09906291834002677, 'fraction_numerical': 0.0035698348951361, 'mean_word_length': 3.25426944971537, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 15, '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': '3421617', 'n_tokens_mistral': 612, 'n_tokens_neox': 595, 'n_words': 211}