<commit_before><?php namespace Arcanedev\LaravelSeo\Models;

use Arcanedev\LaravelSeo\Bases\Model;

/**
 * Class     Seo
 *
 * @package  Arcanedev\LaravelSeo\Models
 * @author   ARCANEDEV <<EMAIL>>
 *
 * @property  int                                  id
 * @property  int                                  seoable_id
 * @property  string                               seoable_type
 * @property  string                               title
 * @property  string                               description
 * @property  string                               keywords
 * @property  \Illuminate\Support\Collection       metas
 * @property  boolean                              noindex
 * @property  \Carbon\Carbon                       created_at
 * @property  \Carbon\Carbon                       updated_at
 *
 * @property  \Illuminate\Database\Eloquent\Model  seoable
 */
class Seo extends Model
{
    /* ------------------------------------------------------------------------------------------------
     |  Properties
     | ------------------------------------------------------------------------------------------------
     */
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'seo';

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = ['title', 'keywords', 'description', 'metas', 'noindex'];

    /**
     * The attributes that should be casted to native types.
     *
     * @var array
     */
    protected $casts = [
        'id'         => 'integer',
        'seoable_id' => 'integer',
        'metas'      => 'collection',
        'noindex'    => 'boolean',
    ];

    /* ------------------------------------------------------------------------------------------------
     |  Constructor
     | ------------------------------------------------------------------------------------------------
     */
    /**<commit_msg>Order the fillable<commit_after><?php namespace Arcanedev\LaravelSeo\Models;

use Arcanedev\LaravelSeo\Bases\Model;

/**
 * Class     Seo
 *
 * @package  Arcanedev\LaravelSeo\Models
 * @author   ARCANEDEV <<EMAIL>>
 *
 * @property  int                                  id
 * @property  int                                  seoable_id
 * @property  string                               seoable_type
 * @property  string                               title
 * @property  string                               description
 * @property  string                               keywords
 * @property  \Illuminate\Support\Collection       metas
 * @property  boolean                              noindex
 * @property  \Carbon\Carbon                       created_at
 * @property  \Carbon\Carbon                       updated_at
 *
 * @property  \Illuminate\Database\Eloquent\Model  seoable
 */
class Seo extends Model
{
    /* ------------------------------------------------------------------------------------------------
     |  Properties
     | ------------------------------------------------------------------------------------------------
     */
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'seo';

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = ['title', 'description', 'keywords', 'metas', 'noindex'];

    /**
     * The attributes that should be casted to native types.
     *
     * @var array
     */
    protected $casts = [
        'id'         => 'integer',
        'seoable_id' => 'integer',
        'metas'      => 'collection',
        'noindex'    => 'boolean',
    ];

    /* ------------------------------------------------------------------------------------------------
     |  Constructor
     | ------------------------------------------------------------------------------------------------
     */
    /**
{'fraction_non_alphanumeric': 0.28191353287285753, 'fraction_numerical': 0.0, 'mean_word_length': 0.8434700612918434, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5032747', 'n_tokens_mistral': 898, 'n_tokens_neox': 881, 'n_words': 198}