Class yii\queue\gii\Generator
Inheritance | yii\queue\gii\Generator » yii\gii\Generator |
---|
This generator will generate a job.
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$baseClass | yii\queue\gii\Generator | ||
$jobClass | yii\queue\gii\Generator | ||
$ns | yii\queue\gii\Generator | ||
$properties | yii\queue\gii\Generator | ||
$retryable | yii\queue\gii\Generator |
Public Methods
Method | Description | Defined By |
---|---|---|
attributeLabels() | yii\queue\gii\Generator | |
generate() | yii\queue\gii\Generator | |
getDescription() | yii\queue\gii\Generator | |
getName() | yii\queue\gii\Generator | |
hints() | yii\queue\gii\Generator | |
requiredTemplates() | yii\queue\gii\Generator | |
rules() | yii\queue\gii\Generator | |
stickyAttributes() | yii\queue\gii\Generator | |
validateJobClass() | Validates the job class. | yii\queue\gii\Generator |
validateNamespace() | Validates the namespace. | yii\queue\gii\Generator |
Property Details
Method Details
public void attributeLabels ( ) |
public void generate ( ) |
public void getDescription ( ) |
public void getName ( ) |
public void hints ( ) |
public void requiredTemplates ( ) |
public void rules ( ) |
public void stickyAttributes ( ) |
Validates the job class.
public void validateJobClass ( $attribute ) | ||
$attribute | string | Job attribute name. |
Validates the namespace.
public void validateNamespace ( $attribute ) | ||
$attribute | string | Namespace attribute name. |