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.5.0
*/
namespace Quantum\Exceptions;
* Class ModuleLoaderException
* @package Quantum\Exceptions
class ModuleLoaderException extends \Exception
{
* Module not found message
const MODULE_NOT_FOUND = 'Module `{%1}` not found';
* @param string $name
* @return \Quantum\Exceptions\ModuleLoaderException
public static function notFound(string $name): ModuleLoaderException
return new static(_message(self::MODULE_NOT_FOUND, $name), E_ERROR);
}