first commit

This commit is contained in:
JaguarJack
2022-12-05 23:01:12 +08:00
commit 0024080c28
322 changed files with 27698 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
<?php
declare(strict_types=1);
namespace Catch\Facade;
use Illuminate\Support\Facades\Facade;
/**
* @method static all()
* @method static create(array $module)
* @method static update(string $name, array $module)
* @method static delete(string $name)
* @method static disOrEnable(string $name)
*
* @see ModuleRepository
* Class Module
*/
class Module extends Facade
{
public static function getFacadeAccessor(): string
{
return 'module';
}
}

View File

@@ -0,0 +1,24 @@
<?php
declare(strict_types=1);
namespace Catch\Facade;
use Illuminate\Support\Facades\Facade;
use Catch\Support\Zip\Zipper as Zip;
/**
* @method static Zip make(string $pathToFile)
* @method static Zip zip(string $pathToFile)
* @method static Zip phar(string $pathToFile)
*
* @see Zipper
* Class Module
*/
class Zipper extends Facade
{
public static function getFacadeAccessor(): string
{
return Zip::class;
}
}