<commit_before><?php

namespace Phphilosophy;

use Phphilosophy\Http\Request;
use Phphilosophy\Http\Response;

use Phphilosophy\Router\Route;
use Phphilosophy\Router\Router;

/**
 * Phphilosophy Micro PHP Framework for PHP 5.5
 *
 * @author      <NAME> <<EMAIL>>
 * @copyright   2015-2016 <NAME>
 * @license	http://opensource.org/licenses/MIT MIT License
 * @since       0.1.0
 * @version     0.1.0
 * @package     Phphilosophy
 */
class Phphilosophy {
    
    /**
     * @const   string
     */
    const VERSION = '0.1.0';
    
    /**
     * @var \Phphilosophy\Router\Router
     */
    private $router;
    
    /**
     * @var array
     */
    private $guard;
    
    public function __construct(Request $request)
    {
        $this->router = new Router($request);
        ob_start();
    }
    
    /**
     * @param   string          $pattern
     * @param   mixed           $action
     *
     * @return  void
     */
    public function get($pattern, $action) {
        $this->addRoute($pattern, $action, 'GET');
    }
    
    /**
     * @param   string          $pattern
     * @param   mixed           $action
     *
     * @return  void
     */<commit_msg>Bugfix<commit_after><?php

namespace Phphilosophy;

use Phphilosophy\Http\Request;
use Phphilosophy\Http\Response;

use Phphilosophy\Router\Route;
use Phphilosophy\Router\Router;

/**
 * Phphilosophy Micro PHP Framework for PHP 5.5
 *
 * @author      <NAME> <<EMAIL>>
 * @copyright   2015-2016 Lisa Saalfrank
 * @license	http://opensource.org/licenses/MIT MIT License
 * @since       0.1.0
 * @version     0.1.0
 * @package     Phphilosophy
 */
class Phphilosophy {
    
    /**
     * @const   string
     */
    const VERSION = '0.1.0';
    
    /**
     * @var \Phphilosophy\Router\Router
     */
    private $router;
    
    /**
     * @var array|null
     */
    private $guard = null;
    
    /**
     * @var string|null
     */
    private $redirect = null;
    
    public function __construct(Request $request)
    {
        $this->router = new Router($request);
        ob_start();
    }
    
    /**
     * @param   string          $pattern
     * @param   mixed           $action
     *
     * @return  void
     */
    public function get($pattern, $action) {
        $this->addRoute($pattern, $action, 'GET');
    }
    
    /**
     * @param   string          $pattern
     * @param   mixed           $action
     *
     * @return  void
     */
{'fraction_non_alphanumeric': 0.13188167625308134, 'fraction_numerical': 0.015612161051766639, 'mean_word_length': 1.742117117117117, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '2820310', 'n_tokens_mistral': 829, 'n_tokens_neox': 797, 'n_words': 167}