Skip to content

Commit d5d14ea

Browse files
authored
Update Module.php
1 parent b749f19 commit d5d14ea

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

src/LangleyFoxall/Modules/Facade/Module.php

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,37 @@
44

55
use Illuminate\Support\Facades\Facade;
66

7+
/**
8+
* Class Module
9+
*
10+
* @method static Module[] getModules()
11+
* @method static Module getModule(string $name)
12+
*
13+
* @method static Module[] getSubModules()
14+
* @method static array getSubModule(string $name)
15+
*
16+
* @method static Widget[] getWidgets()
17+
* @method static array getWidget(string $name)
18+
*
19+
* @method static Module createModule(string $name)
20+
* @method static Module create(string $name)
21+
*
22+
* @method static bool deleteModule(string $name)
23+
* @method static bool deleteSubModule(string $name)
24+
* @method static bool deleteWidget(string $name)
25+
*
26+
* @method static bool hasModule(string $name)
27+
* @method static bool hasSubmodule(string $name)
28+
* @method static bool hasSubModules(string $name, bool $throw)
29+
* @method static bool hasWidget(string $name)
30+
* @method static bool hasWidgets(string $name, bool $throw)
31+
*
32+
* @package LangleyFoxall\Modules\Facade
33+
*/
734
class Module extends Facade
835
{
936
protected static function getFacadeAccessor()
1037
{
1138
return 'modules';
1239
}
13-
}
40+
}

0 commit comments

Comments
 (0)