<commit_before><?php

namespace Monolyth\Formulaic;

use ArrayObject;
use DomainException;
use Stringable;

class Select extends ArrayObject implements Labelable, Testable, Bindable
{
    use Attributes;
    use Element\Identify;
    use Element\Wrap;
    use Validate\Test;
    use Validate\Required;
    use Validate\Element;
    use Select\Tostring;
    use Transform;
    use Normalize;

    private $userInput = false;
    protected $value;
    protected $name;
    protected $idPrefix;

    /**
     * Constructor.
     *
     * @param string $name Name of the element.
     * @param array|callable $options Hash of options (value/label), or a
     *  callable which receives the new Select element as its parameter.
     * @return void
     */
    public function __construct(string $name, $options)
    {
        if (isset($name)) {
            $this->attributes['name'] = $name;
        }<commit_msg>remove trait usage<commit_after><?php

namespace Monolyth\Formulaic;

use ArrayObject;
use DomainException;
use Stringable;

class Select extends ArrayObject implements Labelable, Testable, Bindable
{
    use Attributes;
    use Element\Identify;
    use Element\Wrap;
    use Validate\Test;
    use Validate\Required;
    use Validate\Element;
    use Transform;
    use Normalize;

    private $userInput = false;
    protected $value;
    protected $name;
    protected $idPrefix;

    /**
     * Constructor.
     *
     * @param string $name Name of the element.
     * @param array|callable $options Hash of options (value/label), or a
     *  callable which receives the new Select element as its parameter.
     * @return void
     */
    public function __construct(string $name, $options)
    {
        if (isset($name)) {
            $this->attributes['name'] = $name;
        }
{'fraction_non_alphanumeric': 0.09232480533926585, 'fraction_numerical': 0.0, 'mean_word_length': 2.747916666666667, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1014772', 'n_tokens_mistral': 518, 'n_tokens_neox': 516, 'n_words': 164}