src/models/Permissions/PermissionProvider.php
public function createPermission($attributes)
    {
        $permission = $this->createModel();
        $permission->fill($attributes);
        $permission->save();

        return $permission;
    }
public function createPermission($attributes)
    {
        $permission = $this->createModel();
        $permission->fill($attributes);
        $permission->save();

        return $permission;
    }
Create permission
@param  array $attributes
@return Permission permission object