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
+5
View File
@@ -0,0 +1,5 @@
<?php
namespace mpba\Modules\Exceptions;
class FileAlreadyExistException extends \Exception {}
+11
View File
@@ -0,0 +1,11 @@
<?php
namespace mpba\Modules\Exceptions;
class InvalidActivatorClass extends \Exception
{
public static function missingConfig()
{
return new static("You don't have a valid activator configuration class. This might be due to your config being out of date. \n Run php artisan Vendors:publish --provider=\"mpba\Modules\LaravelModulesServiceProvider\" --force to publish the up to date configuration");
}
}
+11
View File
@@ -0,0 +1,11 @@
<?php
namespace mpba\Modules\Exceptions;
class InvalidAssetPath extends \Exception
{
public static function missingModuleName($asset)
{
return new static("Module name was not specified in asset [$asset].");
}
}
+5
View File
@@ -0,0 +1,5 @@
<?php
namespace mpba\Modules\Exceptions;
class InvalidJsonException extends \Exception {}
+5
View File
@@ -0,0 +1,5 @@
<?php
namespace mpba\Modules\Exceptions;
class ModuleNotFoundException extends \Exception {}