%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/management/vendor/httpoz/roles/src/Traits/
Upload File :
Create Path :
Current File : /var/www/html/management/vendor/httpoz/roles/src/Traits/Sluggable.php

<?php

namespace HttpOz\Roles\Traits;

trait Sluggable
{
    /**
     *  Set slug attribute.
     *
     * @param string $value
     * @return void
     */

    public function setSlugAttribute($value)
    {
        $this->attributes['slug'] = str_slug($value, config('roles.separator'));
    }

    public function setGroupAttribute($value)
    {
        $this->attributes['group'] = str_slug($value, config('roles.separator'));
    }

}

Zerion Mini Shell 1.0