_priority = $priority; $this->_operator = $operator; } /** * Returns TRUE to accept the message, FALSE to block it. * * @param array $event event data * @return boolean accepted? */ public function accept($event) { return version_compare($event['priority'], $this->_priority, $this->_operator); } }