<commit_before><?php
/**
 * @file src/Core/Hook.php
 */
namespace Friendica\Core;

use Friendica\App;
use Friendica\BaseObject;
use Friendica\Database\DBA;
use Friendica\Core\Logger;

/**
 * Some functions to handle hooks
 */
class Hook extends BaseObject
{
	/**
	 * Array of registered hooks
	 *
	 * Format:
	 * [
	 *		["<hook name>"] => [
	 *			0 => "<hook file>",
	 *			1 => "<hook function name>"<commit_msg>Logger is not needed anymore<commit_after><?php
/**
 * @file src/Core/Hook.php
 */
namespace Friendica\Core;

use Friendica\App;
use Friendica\BaseObject;
use Friendica\Database\DBA;

/**
 * Some functions to handle hooks
 */
class Hook extends BaseObject
{
	/**
	 * Array of registered hooks
	 *
	 * Format:
	 * [
	 *		["<hook name>"] => [
	 *			0 => "<hook file>",
	 *			1 => "<hook function name>"
{'fraction_non_alphanumeric': 0.16379310344827586, 'fraction_numerical': 0.0049261083743842365, 'mean_word_length': 3.2124352331606216, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 15, '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': '7202912', 'n_tokens_mistral': 288, 'n_tokens_neox': 271, 'n_words': 73}