for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Arcanesoft\Backups\Database\Seeders;
use Arcanesoft\Foundation\Core\Database\RolesSeeder as Seeder;
/**
* Class RolesSeeder
*
* @author ARCANEDEV <[email protected]>
*/
class RolesSeeder extends Seeder
{
/* -----------------------------------------------------------------
| Main Methods
| -----------------------------------------------------------------
* Run the database seeds.
public function run(): void
$this->seedMany([
[
'name' => 'Backups Manager',
'description' => 'The Backups manager role.',
'is_locked' => true,
],
]);
$this->syncRolesWithPermissions([
'backups-manager' => [
'admin::backups.*',
}