class ImageSource

internal  
 

Share one lazy source across every image derived from it.

Constants

protected LOCK_KEY_PREFIX

Properties

protected string|null $contents
protected Closure|null $resolver
protected Throwable|null $exception

Methods

__construct(Closure|string $contents)

Create a new image source instance.

string
contents()

Resolve the image source contents.

Details

at line 29
__construct(Closure|string $contents)

Create a new image source instance.

Parameters

Closure|string $contents

at line 41
string contents()

Resolve the image source contents.

Return Value

string