for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Quantum PHP Framework
*
* An open source software development framework for PHP
* @package Quantum
* @author Arman Ag. <[email protected]>
* @copyright Copyright (c) 2018 Softberg LLC (https://softberg.org)
* @link http://quantum.softberg.org/
* @since 2.9.7
*/
namespace Quantum\Module\Exceptions;
* Class ModuleLoaderException
* @package Quantum\Module
class ModuleLoaderException extends \Exception
{
* @param string $name
* @return ModuleLoaderException
public static function moduleRoutesNotFound(string $name): ModuleLoaderException
return new static(t('exception.module_routes_not_found', $name), E_ERROR);
}
public static function moduleConfigNotFound(): ModuleLoaderException
return new static(t('exception.module_config_not_found'), E_ERROR);