Update ImageOptimizePipeline

This commit is contained in:
Daniel Supernault 2019-01-12 15:21:48 -07:00
parent a9e4589e36
commit 49d825f5b2
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
4 changed files with 28 additions and 0 deletions

View File

@ -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.
*

View File

@ -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.
*

View File

@ -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.
*

View File

@ -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.
*