<commit_before><?php
/**
 * Widget Framework
 *
 * @copyright   Copyright (c) 2008-2012 <NAME>
 * @license     http://www.opensource.org/licenses/apache2.0.php Apache License
 */

namespace Widget;

use Widget\Response;
use Widget\App\NotFoundException;
use Widget\App\DispatchBreakException;

/**
 * App
 *
 * @package     Widget
 * @author      <NAME> <<EMAIL>>
 * @todo        output anywhere support?
 */
class App extends WidgetProvider
{    
    /**
     * The available modules
     * 
     * @var array
     */<commit_msg>added method annonation for app widget<commit_after><?php
/**
 * Widget Framework
 *
 * @copyright   Copyright (c) 2008-2012 <NAME>
 * @license     http://www.opensource.org/licenses/apache2.0.php Apache License
 */

namespace Widget;

use Widget\Response;
use Widget\App\NotFoundException;
use Widget\App\DispatchBreakException;

/**
 * App
 *
 * @package     Widget
 * @author      <NAME> <<EMAIL>>
 * @method \Widget\EventManager trigger(string $eventName) Trigger a event
 * @method \Widget\Log log(string $message) Log a default level message
 * @method mixed config(string $name) Get a config
 * @method \Widget\Response response(string $content) Send headers and output content
 * @method \Widget\Request request(string $name, mixed $default = null) Get a request parameter
 * @todo        output anywhere support?
 */
class App extends WidgetProvider
{    
    /**
     * The available modules
     * 
     * @var array
     */
{'fraction_non_alphanumeric': 0.11877133105802047, 'fraction_numerical': 0.013651877133105802, 'mean_word_length': 3.164772727272727, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 11, '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': '1024278', 'n_tokens_mistral': 436, 'n_tokens_neox': 431, 'n_words': 126}