for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Equip\Exception;
use InvalidArgumentException;
class EnvException extends InvalidArgumentException
{
/**
* @param string $path
*
* @return static
*/
public static function invalidFile($path)
return new static(sprintf(
'Environment file `%s` does not exist or is not readable',
$path
));
}
public static function detectionFailed()
return new static(
'Unable to automatically detect the location of a .env file'
);