<commit_before><?php
/**
 * This file is part of the LdapTools package.
 *
 * (c) <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace LdapTools\Query;

use LdapTools\Exception\LdapQueryException;
use LdapTools\Query\Operator\From;
use LdapTools\Query\Operator\MatchingRule;
use LdapTools\Schema\LdapObjectSchema;
use LdapTools\Query\Operator\BaseOperator;
use LdapTools\Query\Operator\bNot;
use LdapTools\Query\Operator\bAnd;
use LdapTools\Query\Operator\bOr;
use LdapTools\Query\Operator\Comparison;
use LdapTools\Query\Operator\Wildcard;
use LdapTools\Query\Operator\MemberOf;

/**
 * Used to store and iterate on the operators used to build a LDAP query.
 *
 * @author <NAME> <<EMAIL>>
 */
class OperatorCollection implements \IteratorAggregate
{
    /**
     * @var array Contains the LdapObjectSchema objects
     */
    protected $schema = [];

    /**
     * @var array Contains the various Operator objects grouped by their type.
     */<commit_msg>Remove an unused use statement.<commit_after><?php
/**
 * This file is part of the LdapTools package.
 *
 * (c) <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace LdapTools\Query;

use LdapTools\Exception\LdapQueryException;
use LdapTools\Query\Operator\From;
use LdapTools\Query\Operator\MatchingRule;
use LdapTools\Schema\LdapObjectSchema;
use LdapTools\Query\Operator\BaseOperator;
use LdapTools\Query\Operator\bNot;
use LdapTools\Query\Operator\bAnd;
use LdapTools\Query\Operator\bOr;
use LdapTools\Query\Operator\Comparison;
use LdapTools\Query\Operator\Wildcard;

/**
 * Used to store and iterate on the operators used to build a LDAP query.
 *
 * @author <NAME> <<EMAIL>>
 */
class OperatorCollection implements \IteratorAggregate
{
    /**
     * @var array Contains the LdapObjectSchema objects
     */
    protected $schema = [];

    /**
     * @var array Contains the various Operator objects grouped by their type.
     */
{'fraction_non_alphanumeric': 0.10175106483672504, 'fraction_numerical': 0.0, 'mean_word_length': 4.069544364508393, 'pattern_counts': {'":': 0, '<': 17, '<?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': '4928042', 'n_tokens_mistral': 636, 'n_tokens_neox': 658, 'n_words': 192}