public function setPriority($priority) { $this->priority = $priority; $this->ev->priority = $priority; }