File "InvalidTemporaryDirectory.php"
Full Path: /home/clickysoft/public_html/jmapi5.clickysoft.net/vendor/spatie/image/src/Exceptions/InvalidTemporaryDirectory.php
File size: 506 bytes
MIME-type: text/x-php
Charset: utf-8
<?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");
}
}