abstract classe ProducerService (Voir la source)

Traits

Propriétés

protected int $delay

Define the delay

protected string $queue

Define the queue

protected int $retry

Define the time of retry

protected int $priority

Define the priority

Méthodes

array
__serialize()

Prepare the instance values for serialization.

void
__unserialize(array $values)

Restore the model after serialization.

mixed
getPropertyValue(ReflectionProperty $property)

Get the property value for the given property.

int
getPriority()

Get the producer priority

int
getRetry()

Get the producer retry

string
getQueue()

Get the producer queue

int
getDelay()

Get the producer delay

void
process()

Process the producer

Détails

array __serialize()

Prepare the instance values for serialization.

Valeur de retour

array

void __unserialize(array $values)

Restore the model after serialization.

Paramètres

array $values

Valeur de retour

void

protected mixed getPropertyValue(ReflectionProperty $property)

Get the property value for the given property.

Paramètres

ReflectionProperty $property

Valeur de retour

mixed

final int getPriority()

Get the producer priority

Valeur de retour

int

final int getRetry()

Get the producer retry

Valeur de retour

int

final string getQueue()

Get the producer queue

Valeur de retour

string

final int getDelay()

Get the producer delay

Valeur de retour

int

abstract void process()

Process the producer

Valeur de retour

void