| DIR: /home/cardxfeb/public_html/vendor/spatie/image/src/Exceptions/ |
| Current File : //home/cardxfeb/public_html/vendor/spatie/image/src/Exceptions/InvalidTemporaryDirectory.php |
<?php
namespace Spatie\Image\Exceptions;
use Exception;
class InvalidTemporaryDirectory extends Exception
{
public static function temporaryDirectoryNotCreatable(string $directory): self
{
return new self("the temporary directory `{$directory}` does not exist and can not be created");
}
public static function temporaryDirectoryNotWritable(string $directory): self
{
return new self("the temporary directory `{$directory}` does exist but is not writable");
}
}
|