Initial Commit

This commit is contained in:
Mark Gregory
2026-04-21 09:12:51 +01:00
commit 6bc3c69c3e
151 changed files with 11917 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
<?php
namespace mpba\Modules\Facades;
use Illuminate\Support\Facades\Facade;
class Module extends Facade
{
/**
* @method static array all()
* @method static array getCached()
* @method static array scan()
* @method static \mpba\Modules\Collection toCollection()
* @method static array getScanPaths()
* @method static array allEnabled()
* @method static array allDisabled()
* @method static int count()
* @method static array getOrdered($direction = 'asc')
* @method static array getByStatus($status)
* @method static \mpba\Modules\Module find(string $name)
* @method static \mpba\Modules\Module findOrFail(string $name)
* @method static string getModulePath($moduleName)
* @method static \Illuminate\Filesystem\Filesystem getFiles()
* @method static mixed config(string $key, $default = NULL)
* @method static string getPath()
* @method static void boot()
* @method static void register(): void
* @method static string assetPath(string $module)
* @method static bool delete(string $module)
* @method static bool isEnabled(string $name)
* @method static bool isDisabled(string $name)
*/
protected static function getFacadeAccessor(): string
{
return 'modules';
}
}