/** * @inheritdoc */ public function pop($queue) { if ($this->trigger_event(self::BEFORE_POP)) { $job = $this->driver->pop($queue); $this->trigger_event(self::AFTER_POP); return $job; } }