Update ImageOptimizePipeline

pull/793/head
Daniel Supernault 6 years ago
parent a9e4589e36
commit 49d825f5b2
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -15,6 +15,13 @@ class ImageOptimize implements ShouldQueue
protected $media;
/**
* Delete the job if its models no longer exist.
*
* @var bool
*/
public $deleteWhenMissingModels = true;
/**
* Create a new job instance.
*

@ -16,6 +16,13 @@ class ImageResize implements ShouldQueue
protected $media;
/**
* Delete the job if its models no longer exist.
*
* @var bool
*/
public $deleteWhenMissingModels = true;
/**
* Create a new job instance.
*

@ -17,6 +17,13 @@ class ImageThumbnail implements ShouldQueue
protected $media;
/**
* Delete the job if its models no longer exist.
*
* @var bool
*/
public $deleteWhenMissingModels = true;
/**
* Create a new job instance.
*

@ -23,6 +23,13 @@ class ImageUpdate implements ShouldQueue
'image/png',
];
/**
* Delete the job if its models no longer exist.
*
* @var bool
*/
public $deleteWhenMissingModels = true;
/**
* Create a new job instance.
*

Loading…
Cancel
Save