<commit_before><?php

/**
 * ArangoDB PHP client: single document
 *
 * @package   ArangoDBClient
 * @author    <NAME>
 * @author    <NAME>
 * @copyright Copyright 2012, triagens GmbH, Cologne, Germany
 */

namespace ArangoDBClient;

/**
 * Value object representing a single collection-based document
 *
 * <br>
 *
 * @package   ArangoDBClient
 * @since     0.2
 */
class Document
{
    /**
     * The document id (might be NULL for new documents)
     *
     * @var string - document id
     */
    protected $_id;

    /**
     * The document key (might be NULL for new documents)
     *
     * @var string - document id
     */
    protected $_key;

    /**
     * The document revision (might be NULL for new documents)
     *
     * @var mixed
     */
    protected $_rev;

    /**
     * The document attributes (names/values)
     *
     * @var array
     */
    protected $_values = [];

    /**
     * Flag to indicate whether document was changed locally
     *
     * @var bool
     */
    protected $_changed = false;

    /**
     * Flag to indicate whether document is a new document (never been saved to the server)
     *
     * @var bool
     */
    protected $_isNew = true;

    /**
     * Flag to indicate whether validation of document values should be performed
     * This can be turned on, but has a performance penalty
     *
     * @var bool
     */
    protected $_doValidate = false;

    /**
     * Flag to indicate whether document was changed locally
     *
     * @var bool
     */
    protected $_hiddenAttributes = [];

    /**
     * Flag to indicate whether document was changed locally
     *
     * @var bool
     */
    protected $_ignoreHiddenAttributes = false;

    /**
     * Document id index
     */
    const ENTRY_ID = '_id';

    /**
     * Document key index
     */
    const ENTRY_KEY = '_key';

    /**
     * Revision id index
     */
    const ENTRY_REV = '_rev';

    /**
     * isNew id index
     */
    const ENTRY_ISNEW = '_isNew';
<commit_msg>Corrections to some properties' documentation<commit_after><?php

/**
 * ArangoDB PHP client: single document
 *
 * @package   ArangoDBClient
 * @author    <NAME>
 * @author    <NAME>
 * @copyright Copyright 2012, triagens GmbH, Cologne, Germany
 */

namespace ArangoDBClient;

/**
 * Value object representing a single collection-based document
 *
 * <br>
 *
 * @package   ArangoDBClient
 * @since     0.2
 */
class Document
{
    /**
     * The document id (might be NULL for new documents)
     *
     * @var string - document id
     */
    protected $_id;

    /**
     * The document key (might be NULL for new documents)
     *
     * @var string - document id
     */
    protected $_key;

    /**
     * The document revision (might be NULL for new documents)
     *
     * @var mixed
     */
    protected $_rev;

    /**
     * The document attributes (names/values)
     *
     * @var array
     */
    protected $_values = [];

    /**
     * Flag to indicate whether document was changed locally
     *
     * @var bool
     */
    protected $_changed = false;

    /**
     * Flag to indicate whether document is a new document (never been saved to the server)
     *
     * @var bool
     */
    protected $_isNew = true;

    /**
     * Flag to indicate whether validation of document values should be performed
     * This can be turned on, but has a performance penalty
     *
     * @var bool
     */
    protected $_doValidate = false;

    /**
     * An array, that defines which attributes should be treated as hidden.
     *
     * @var array
     */
    protected $_hiddenAttributes = [];

    /**
     * Flag to indicate whether hidden attributes should be ignored or included in returned data-sets
     *
     * @var bool
     */
    protected $_ignoreHiddenAttributes = false;

    /**
     * Document id index
     */
    const ENTRY_ID = '_id';

    /**
     * Document key index
     */
    const ENTRY_KEY = '_key';

    /**
     * Revision id index
     */
    const ENTRY_REV = '_rev';

    /**
     * isNew id index
     */
    const ENTRY_ISNEW = '_isNew';

{'fraction_non_alphanumeric': 0.10397852086892849, 'fraction_numerical': 0.002928972418843056, 'mean_word_length': 1.9355300859598854, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 9, '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': '6321284', 'n_tokens_mistral': 1193, 'n_tokens_neox': 1153, 'n_words': 401}