$data
$data : mixed
The data to be associated with the urgency
Priority Class - Defines a basic priority
This associates a piece of data with a priority
The lower the priority the more urgent it is, is the idea
__construct(mixed $data, integer $priority)
Priority class Constructor.
Set the initial priority and associate the data object with it.
NOTE: Data is passed and assigned as a reference in the constructor
mixed | $data | The data associated with the priority |
integer | $priority | The urgency of the priority, less is more |