PHP Class Gearman_Async_Task, WP-Gears

Inheritance: extends WP_Async_Task
Afficher le fichier Open project: 10up/wp-gears

Protected Properties

Свойство Type Description
$_client GearmanClient
$_worker GearmanWorker

Méthodes publiques

Méthode Description
add ( $hook, $args = [], $priority = 'normal' )
do_job ( $job )
gearman_function ( ) : string Returns the gearman function group for this install
init ( )
work ( ) * Task Runner

Method Details

add() public méthode

public add ( $hook, $args = [], $priority = 'normal' )

do_job() public méthode

public do_job ( $job )

gearman_function() public méthode

Returns the gearman function group for this install
public gearman_function ( ) : string
Résultat string

init() public méthode

public init ( )

work() public méthode

* Task Runner
public work ( )

Property Details

$_client protected_oe property

protected GearmanClient $_client
Résultat GearmanClient

$_worker protected_oe property

protected GearmanWorker $_worker
Résultat GearmanWorker