public function hgetall($key) { if (!$this->isTraversable($key)) { return array(); } return $this->data->get($key)->toArray(); }
/** * @inheritdoc * @return Job */ public function get($key, $default = null) { return parent::get($key, $default) ?: new NullJob(); }
/** * @inheritdoc * @return Tube|null */ public function get($key, $default = null) { return parent::get($key, $default); }