<?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");
}
}
Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]