src/Sluggable/SluggableTrait.php
public static function bootSluggableTrait()
    {
        // cache config for this model
        static::$slugsTable        = config('pxlcms.slugs.table', 'cms_slugs');
        static::$slugsColumn       = config('pxlcms.slugs.column', 'slug');
        static::$slugsEntryKey     = config('pxlcms.slugs.keys.entry', 'entry_id');
        static::$slugsModuleKey    = config('pxlcms.slugs.keys.module', 'module_id');
        static::$slugsLanguageKey  = config('pxlcms.slugs.keys.language', 'language_id');
        static::$slugsActiveColumn = config('pxlcms.slugs.active_column', false);
    }
public static function bootSluggableTrait()
    {
        // cache config for this model
        static::$slugsTable        = config('pxlcms.slugs.table', 'cms_slugs');
        static::$slugsColumn       = config('pxlcms.slugs.column', 'slug');
        static::$slugsEntryKey     = config('pxlcms.slugs.keys.entry', 'entry_id');
        static::$slugsModuleKey    = config('pxlcms.slugs.keys.module', 'module_id');
        static::$slugsLanguageKey  = config('pxlcms.slugs.keys.language', 'language_id');
        static::$slugsActiveColumn = config('pxlcms.slugs.active_column', false);
    }
public static function bootSluggableTrait ( ) { // cache config for this model static :: $ slugsTable = config ( 'pxlcms.slugs.table' , 'cms_slugs' ) ; static :: $ slugsColumn = config ( 'pxlcms.slugs.column' , 'slug' ) ; static :: $ slugsEntryKey = config ( 'pxlcms.slugs.keys.entry' , 'entry_id' ) ; static :: $ slugsModuleKey = config ( 'pxlcms.slugs.keys.module' , 'module_id' ) ; static :: $ slugsLanguageKey = config ( 'pxlcms.slugs.keys.language' , 'language_id' ) ; static :: $ slugsActiveColumn = config ( 'pxlcms.slugs.active_column' , false ) ; }
Caches config on model boot
Caches config on model boot