<commit_before><?php

namespace Gear\Library;

use Gear\Interfaces\IModel;
use Gear\Interfaces\IObject;
use Gear\Traits\TPluginContained;

/**
 * Базовый класс моделей
 *
 * @package Gear Framework
 * @author <NAME>
 * @copyright 2016 <NAME>
 * @license http://www.spdx.org/licenses/MIT MIT License
 * @since 0.0.1
 * @version 0.0.1
 */
class GModel extends GObject implements IModel
{
    /* Traits */
    use TPluginContained;
    /* Const */
    /* Private */
    /* Protected */
    /* Public */
    public static $primaryKeyName = 'id';

    /**
     * GModel constructor.
     *
     * @param array|\Closure $properties
     * @param null|IObject $owner
     * @since 0.0.1
     * @version 0.0.1<commit_msg>Add trait TServiceContained to models<commit_after><?php

namespace Gear\Library;

use Gear\Interfaces\IModel;
use Gear\Interfaces\IObject;
use Gear\Traits\TPluginContained;
use Gear\Traits\TServiceContained;

/**
 * Базовый класс моделей
 *
 * @package Gear Framework
 * @author <NAME>
 * @copyright 2016 <NAME>
 * @license http://www.spdx.org/licenses/MIT MIT License
 * @since 0.0.1
 * @version 0.0.1
 */
class GModel extends GObject implements IModel
{
    /* Traits */
    use TServiceContained;
    use TPluginContained;
    /* Const */
    /* Private */
    /* Protected */
    /* Public */
    public static $primaryKeyName = 'id';

    /**
     * GModel constructor.
     *
     * @param array|\Closure $properties
     * @param null|IObject $owner
     * @since 0.0.1
     * @version 0.0.1
{'fraction_non_alphanumeric': 0.1349206349206349, 'fraction_numerical': 0.021164021164021163, 'mean_word_length': 2.7174447174447174, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3358223', 'n_tokens_mistral': 535, 'n_tokens_neox': 509, 'n_words': 121}