Craft 3 Class Reference

Class craft\queue\jobs\GeneratePendingTransforms

Inheritance
craft\queue\jobs\GeneratePendingTransforms » craft\queue\BaseJob » yii\base\BaseObject
Implements
craft\queue\JobInterface, yii\base\Configurable
Available since version
3.0
Source Code
https://github.com/craftcms/cms/blob/master/src/queue/jobs/GeneratePendingTransforms.php

GeneratePendingTransforms job

Public Properties
Property Type Description Defined By
$description string, null The configured job description craft\queue\BaseJob
Public Methods
Method Description Defined By
__call() Calls the named method which is not a class method. yii\base\BaseObject
__construct() Constructor. yii\base\BaseObject
__get() Returns the value of an object property. yii\base\BaseObject
__isset() Checks if a property is set, i.e. defined and not null. yii\base\BaseObject
__set() Sets value of an object property. yii\base\BaseObject
__unset() Sets an object property to null. yii\base\BaseObject
canGetProperty() Returns a value indicating whether a property can be read. yii\base\BaseObject
canSetProperty() Returns a value indicating whether a property can be set. yii\base\BaseObject
className() Returns the fully qualified name of this class. yii\base\BaseObject
execute() craft\queue\jobs\GeneratePendingTransforms
getDescription() Returns the description that should be used for the job. craft\queue\BaseJob
hasMethod() Returns a value indicating whether a method is defined. yii\base\BaseObject
hasProperty() Returns a value indicating whether a property is defined. yii\base\BaseObject
init() Initializes the object. craft\queue\BaseJob
Protected Methods
Method Description Defined By
defaultDescription() Returns a default description for getDescription(). craft\queue\jobs\GeneratePendingTransforms
setProgress() Sets the job progress on the queue. craft\queue\BaseJob

Method Details

defaultDescription() protected method #

Returns a default description for getDescription().

protected string, null defaultDescription ( )

execute() public method #

public void execute ( $queue )
$queue \yii\queue\Queue, craft\queue\QueueInterface The queue the job belongs to