<commit_before><?php

require_once __DIR__ . '/../vendor/autoload.php';

use Bookmarks\Storage;
use Bookmarks\View;
use Bookmarks\Controller;

$env = new \Bookmarks\Environment();
$env->inject('subdomain', 'dev'); // replace all {subdomain} parts with dev

$storage    = new Storage('../config/links.json');
$view       = new View();
$controller = new Controller($storage, $view);
$controller->injectEnvironment($env);<commit_msg>extend example file<commit_after><?php

require_once __DIR__ . '/../vendor/autoload.php';

use Bookmarks\Storage;
use Bookmarks\View;
use Bookmarks\Controller;

$env = new \Bookmarks\Environment();
$env->inject('subdomain', 'dev'); // replace all {subdomain} parts with dev

$storage    = new Storage('../config/links.json');
$view       = new View('../cache');
$controller = new Controller($storage, $view);
$controller->injectEnvironment($env);
{'fraction_non_alphanumeric': 0.1769406392694064, 'fraction_numerical': 0.0, 'mean_word_length': 4.925675675675675, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '2527895', 'n_tokens_mistral': 264, 'n_tokens_neox': 265, 'n_words': 65}