NextDom\Managers\EventManager
Class EventManager
Synopsis
class EventManager
{
- // members
- private static integer $MAX_EVENTS_BY_PROCESS = 250;
- private static $eventLockFile = NULL;
- // methods
- public static bool|null|resource getFileDescriptorLock()
- public static void add()
- public static void adds()
- public static array cleanEvent()
- public static int orderEvent()
- public static array changes()
- private static array filterEvent()
- private static array changesSince()
Members
private
- $MAX_EVENTS_BY_PROCESS — int
- $eventLockFile — mixed
Methods
private
- changesSince() — Get events whose state has changed since a datetime
- filterEvent() — Get events filtered by name
public
- add() — Add event in cache
- adds() — Add multiple events in cache
- changes() — Get new events since a datetime
- cleanEvent() — Clean events
- getFileDescriptorLock() — Get event cache file object
- orderEvent() — Method used for sorting event by datetime