allow vendord
All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 3m3s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
Build, Push and Deploy / deploy-staging (push) Successful in 32s
Build, Push and Deploy / deploy-production (push) Has been skipped
Build, Push and Deploy / cleanup (push) Successful in 1s
All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 3m3s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
Build, Push and Deploy / deploy-staging (push) Successful in 32s
Build, Push and Deploy / deploy-production (push) Has been skipped
Build, Push and Deploy / cleanup (push) Successful in 1s
This commit is contained in:
37
vendor/nwidart/laravel-modules/src/Facades/Module.php
vendored
Normal file
37
vendor/nwidart/laravel-modules/src/Facades/Module.php
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
namespace Nwidart\Modules\Facades;
|
||||
|
||||
use Illuminate\Support\Facades\Facade;
|
||||
|
||||
/**
|
||||
* @method static array all()
|
||||
* @method static array getCached()
|
||||
* @method static array scan()
|
||||
* @method static \Nwidart\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 \Nwidart\Modules\Module find(string $name)
|
||||
* @method static \Nwidart\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)
|
||||
*/
|
||||
class Module extends Facade
|
||||
{
|
||||
protected static function getFacadeAccessor(): string
|
||||
{
|
||||
return 'modules';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user