public function query($key = null, $value = null) { return $this->isNull($key) ? $this->query->getAll() : $this->query->get($key, $value); }