for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace TomPHP\ContainerConfigurator\Exception;
use LogicException;
use TomPHP\ExceptionConstructorTools;
final class InvalidConfigException extends LogicException implements Exception
{
use ExceptionConstructorTools;
/**
* @param string $filename
*
* @return self
*/
public static function fromPHPFileError($filename)
return self::create('"%s" does not return a PHP array.', [$filename]);
}
* @param string $message
public static function fromJSONFileError($filename, $message)
return self::create('Invalid JSON in "%s": %s', [$filename, $message]);