add: full multi-tenancy control
This commit is contained in:
19
packages/Webkul/Core/src/Acl/AclItem.php
Normal file
19
packages/Webkul/Core/src/Acl/AclItem.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace Webkul\Core\Acl;
|
||||
|
||||
use Illuminate\Support\Collection;
|
||||
|
||||
class AclItem
|
||||
{
|
||||
/**
|
||||
* Create a new AclItem instance.
|
||||
*/
|
||||
public function __construct(
|
||||
public string $key,
|
||||
public string $name,
|
||||
public array|string $route,
|
||||
public int $sort,
|
||||
public Collection $children,
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user