ImageManagerStatic
    
            
            in package
            
        
    
    
    
Table of Contents
Properties
- $manager : ImageManager
- Instance of Intervention\Image\ImageManager
Methods
- __construct() : mixed
- Creates a new instance
- cache() : mixed
- Create new cached image and run callback statically
- canvas() : Image
- Statically creates an empty image canvas
- configure() : ImageManager
- Statically create new custom configured image manager
- getManager() : ImageManager
- Get or create new ImageManager instance
- make() : Image
- Statically initiates an Image instance from different input types
Properties
$manager
Instance of Intervention\Image\ImageManager
    public
    static    ImageManager
    $manager
    
    
    
    
    
Methods
__construct()
Creates a new instance
    public
                    __construct([ImageManager $manager = null ]) : mixed
    Parameters
- $manager : ImageManager = null
cache()
Create new cached image and run callback statically
    public
            static        cache(Closure $callback[, int $lifetime = null ][, bool $returnObj = false ]) : mixed
    Parameters
- $callback : Closure
- $lifetime : int = null
- $returnObj : bool = false
canvas()
Statically creates an empty image canvas
    public
            static        canvas(int $width, int $height[, mixed $background = null ]) : Image
    Parameters
- $width : int
- $height : int
- $background : mixed = null
Return values
Imageconfigure()
Statically create new custom configured image manager
    public
            static        configure([array<string|int, mixed> $config = [] ]) : ImageManager
    Parameters
- $config : array<string|int, mixed> = []
Return values
ImageManagergetManager()
Get or create new ImageManager instance
    public
            static        getManager() : ImageManager
    Return values
ImageManagermake()
Statically initiates an Image instance from different input types
    public
            static        make(mixed $data) : Image
    Parameters
- $data : mixed