First setup: module registry, switchable modules, permissions
This commit is contained in:
commit
936c794597
52 files changed
+1304
No files matched your search
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace IriksIT\Manager\Facades;
|
||||
|
||||
use Illuminate\Support\Facades\Facade;
|
||||
use IriksIT\Manager\Support\ModuleRegistry;
|
||||
|
||||
/**
|
||||
* @method static bool enabled(string $key)
|
||||
* @method static array active()
|
||||
* @method static array permissions()
|
||||
* @method static array navigation()
|
||||
*
|
||||
* @see ModuleRegistry
|
||||
*/
|
||||
class Manager extends Facade
|
||||
{
|
||||
protected static function getFacadeAccessor(): string
|
||||
{
|
||||
return ModuleRegistry::class;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user