<commit_before><?php
/**
 * Lithium: the most rad php framework
 *
 * @copyright     Copyright 2013, Union of RAD (http://union-of-rad.org)
 * @license       http://opensource.org/licenses/bsd-license.php The BSD License
 */

namespace lithium\aop;

/**
 * The `Chain` class represents a collection of callables, called filters.
 * Instances contain a list of filters in line to be executed. It is often
 * used in conjunction with the `Filters` class.
 *
 * Filters wrap around each other and then finally around the implementation.
 * While the first added filter is called with the input first, and last in
 * receiving the result.
 *
 * ```
 *        │                ▲
 *        │                │
 * ┌──────┼────────────────┼──────┐
 * │      │    Filter 1    │      │
 * │      │                │      │
 * │ ┌────┼────────────────┼────┐ │
 * │ │    │    Filter 2    │    │ │
 * │ │    │                │    │ │
 * │ │┌───┼────────────────┼───┐│ │
 * │ ││   │ Implementation │   ││ │
 * │ ││   ▼                │   ││ │
 * │ ││                        ││ │
 * │ │└────────────────────────┘│ │
 * │ └──────────────────────────┘ │
 * └──────────────────────────────┘
 * ```
 *
 * Filters executed inside the chain receive two parameters, the named
 * parameters and the instance of the chain itself. Filters may _advance the<commit_msg>Mark chain asciiart as such.<commit_after><?php
/**
 * Lithium: the most rad php framework
 *
 * @copyright     Copyright 2013, Union of RAD (http://union-of-rad.org)
 * @license       http://opensource.org/licenses/bsd-license.php The BSD License
 */

namespace lithium\aop;

/**
 * The `Chain` class represents a collection of callables, called filters.
 * Instances contain a list of filters in line to be executed. It is often
 * used in conjunction with the `Filters` class.
 *
 * Filters wrap around each other and then finally around the implementation.
 * While the first added filter is called with the input first, and last in
 * receiving the result.
 *
 * ```asciiart
 *        │                ▲
 *        │                │
 * ┌──────┼────────────────┼──────┐
 * │      │    Filter 1    │      │
 * │      │                │      │
 * │ ┌────┼────────────────┼────┐ │
 * │ │    │    Filter 2    │    │ │
 * │ │    │                │    │ │
 * │ │┌───┼────────────────┼───┐│ │
 * │ ││   │ Implementation │   ││ │
 * │ ││   ▼                │   ││ │
 * │ ││                        ││ │
 * │ │└────────────────────────┘│ │
 * │ └──────────────────────────┘ │
 * └──────────────────────────────┘
 * ```
 *
 * Filters executed inside the chain receive two parameters, the named
 * parameters and the instance of the chain itself. Filters may _advance the
{'fraction_non_alphanumeric': 0.2341842397336293, 'fraction_numerical': 0.004439511653718091, 'mean_word_length': 2.136890951276102, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '6045421', 'n_tokens_mistral': 973, 'n_tokens_neox': 856, 'n_words': 326}