<commit_before><?php

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

namespace Bouncer\Resource;

use Bouncer\Resource;

class Session extends Resource
{

    /**
     * The unique id
     *
     * @var string
     */
    protected $id;

    /**
     * @param array $attributes
     */
    public function __construct($attributes = null)
    {
        if (is_string($attributes)) {
            $this->setId($attributes);
        } elseif (is_array($attributes)) {
            parent::__construct($attributes);
        }
    }

    /*
     * @return string|null
     */
    public function getId()
    {
        return $this->id;
    }
<commit_msg>fix documentation<commit_after><?php

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

namespace Bouncer\Resource;

use Bouncer\Resource;

class Session extends Resource
{

    /**
     * The unique id
     *
     * @var string
     */
    protected $id;

    /**
     * @param array|string $attributes
     */
    public function __construct($attributes = null)
    {
        if (is_string($attributes)) {
            $this->setId($attributes);
        } elseif (is_array($attributes)) {
            parent::__construct($attributes);
        }
    }

    /*
     * @return string|null
     */
    public function getId()
    {
        return $this->id;
    }

{'fraction_non_alphanumeric': 0.12078479460453709, 'fraction_numerical': 0.0, 'mean_word_length': 2.1384615384615384, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, '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': '2610184', 'n_tokens_mistral': 476, 'n_tokens_neox': 473, 'n_words': 133}