Queue::add
Usage
TaskModel Queue::add(string $class_name, [ array $params = [] ], [ ?DateTime $execute_time = null ])Description
AddParameters
Parameter | Required | Type | Description |
---|---|---|---|
$class_name | Yes | string | |
$params | No | array | |
$execute_time | No | ?DateTime |