<?php
namespace Intervention\Image\Facades;
use Illuminate\Support\Facades\Facade;
/**
* @method static \Intervention\Image\Image make(mixed $data)
* @method static self configure(array $config)
* @method static \Intervention\Image\Image canvas(int $width, int $height, mixed $background = null)
* @method static \Intervention\Image\Image cache(\Closure $callback, int $lifetime = null, boolean $returnObj = false)
*/
class Image extends Facade
{
protected static function getFacadeAccessor()
{
return 'image';
}
}
In case of an error, the API will return an error response containing a specific error code 400, 403 Failed and a user-friendly message. Refer to our API documentation for a comprehensive list of error codes and their descriptions.