<commit_before><?php

namespace App;

use Layer\Blog\BlogPlugin;
use Layer\Pages\PagesPlugin;

class Application extends \Layer\Application {

	/**
	 * Register any additional plugins and service providers required for the app here
	 */
	protected function registerServiceProviders() {

		parent::registerServiceProviders();

		$this
			->register(new PagesPlugin())
			->register(new BlogPlugin())
		;

	}

	/**
	 * Initialize the app
	 * Set any custom properties and initialize any services or resources here
	 * This method is called just before all services are booted
	 */
	protected function initialize() {

		$app = $this;

		/**
		 * Set the app name
		 */
		$app['name'] = 'Layer Skeleton App';

		/**
		 * Register CSS assets
		 */
		$app['assets.register_scss']('app', ['scss/app.scss']);

		/**
		 * Register javascript assets
		 */
		// $app['assets.register_js']('app', ['js/app.js']);

	}

	/**
	 * Mount controllers for the app
	 */
	protected function mountControllers() {

		$app = $this;

		$app->mount('/', $app['app.controllers']);

	}

}<commit_msg>Renamed method<commit_after><?php

namespace App;

use Layer\Blog\BlogPlugin;
use Layer\Pages\PagesPlugin;

class Application extends \Layer\Application {

	/**
	 * Register any additional plugins and service providers required for the app here
	 */
	protected function registerServiceProviders() {

		parent::registerServiceProviders();

		$this
			->register(new PagesPlugin())
			->register(new BlogPlugin())
		;

	}

	/**
	 * Initialize the app
	 * Set any custom properties and initialize any services or resources here
	 * This method is called just before all services are booted
	 */
	protected function initialize() {

		$app = $this;

		/**
		 * Set the app name
		 */
		$app['name'] = 'Layer Skeleton App';

		/**
		 * Register CSS assets
		 */
		$app['assets.register_scss']('app', ['scss/app.scss']);

		/**
		 * Register javascript assets
		 */
		// $app['assets.register_js']('app', ['js/app.js']);

	}

	/**
	 * Mount controllers for the app
	 */
	protected function connectRoutes() {

		$app = $this;

		$app->mount('/', $app['app.controllers']);

	}

}
{'fraction_non_alphanumeric': 0.14565826330532214, 'fraction_numerical': 0.0, 'mean_word_length': 3.355691056910569, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '1026058', 'n_tokens_mistral': 732, 'n_tokens_neox': 618, 'n_words': 183}