<commit_before><?php namespace Arcanedev\LaravelNestedSet\Contracts;

/**
 * Interface  Eloquent
 *
 * @package   Arcanedev\LaravelNestedSet\Contracts
 * @author    ARCANEDEV <<EMAIL>>
 *
 * @see \Illuminate\Database\Eloquent\Model
 */
interface Eloquent
{
    /* ------------------------------------------------------------------------------------------------
     |  Getters & Setters
     | ------------------------------------------------------------------------------------------------
     */
    /**
     * Get the value of the model's primary key.
     *
     * @return mixed
     */
    public function getKey();

    /* ------------------------------------------------------------------------------------------------
     |  Main Functions<commit_msg>Adding the getRelationValue() method to the contract<commit_after><?php namespace Arcanedev\LaravelNestedSet\Contracts;

/**
 * Interface  Eloquent
 *
 * @package   Arcanedev\LaravelNestedSet\Contracts
 * @author    ARCANEDEV <<EMAIL>>
 *
 * @see \Illuminate\Database\Eloquent\Model
 */
interface Eloquent
{
    /* ------------------------------------------------------------------------------------------------
     |  Getters & Setters
     | ------------------------------------------------------------------------------------------------
     */
    /**
     * Get the value of the model's primary key.
     *
     * @return mixed
     */
    public function getKey();

    /**
     * Get a relationship.
     *
     * @param  string  $key
     *
     * @return mixed
     */
    public function getRelationValue($key);

    /* ------------------------------------------------------------------------------------------------
     |  Main Functions
{'fraction_non_alphanumeric': 0.4147196261682243, 'fraction_numerical': 0.0, 'mean_word_length': 0.8399570354457573, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, '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': '5801286', 'n_tokens_mistral': 391, 'n_tokens_neox': 380, 'n_words': 78}