<commit_before><?php

namespace LaravelFlare\Cms\Slugs;

trait SluggableModel
{
}<commit_msg>SluggableModel Trait now provides the Morphsone relation<commit_after><?php

namespace LaravelFlare\Cms\Slugs;

trait SluggableModel
{
    /**
     * Morph Slug to Model
     * 
     * @return 
     */
    public function slug()
    {
        return $this->morphOne(\LaravelFlare\Cms\Slugs\Slug::class, 'model');
    }
}
{'fraction_non_alphanumeric': 0.1162227602905569, 'fraction_numerical': 0.0, 'mean_word_length': 3.2244897959183674, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 4, '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': '5194913', 'n_tokens_mistral': 150, 'n_tokens_neox': 146, 'n_words': 27}