\App\JobsProcessImage

Queue job that processes uploaded images. It converts them to appropriate sizes.

Summary

Methods
Properties
Constants
__construct()
handle()
$tries
No constants found
getRelativePath()
$image
N/A
No private methods found
No private properties found
N/A

Properties

$tries

$tries : integer

How many times this job should be attempted

Type

integer

Methods

__construct()

__construct(\App\Image  $image) 

Create a new job instance.

Parameters

\App\Image $image

handle()

handle(\Intervention\Image\ImageManager  $imageManager, \Illuminate\Foundation\Application  $application) : void

Execute the job.

Parameters

\Intervention\Image\ImageManager $imageManager
\Illuminate\Foundation\Application $application

getRelativePath()

getRelativePath(  $path,   $base) : string

Get the relative image path

Parameters

$path
$base

Returns

string