Event::setPriority

(PECL event >= 1.2.6-beta)

Event::setPriorityDefine la prioridad del evento

Descripción

public Event::setPriority( int $priority ): bool

Define la prioridad del evento.

Parámetros

priority

La prioridad del evento.

Valores devueltos

Devuelve true en caso de éxito o false en caso de error.

add a note

User Contributed Notes 1 note

up
0
Igor K
4 years ago
$priority argument should be declared as float, because function expects float value in range between 0 and 1.
Otherwise you get "Unable to set event priority" error.
To Top