code: public function getTags()
      {
          if ($this->gitDriver) {
              return $this->gitDriver->getTags();
          }
  
          if (!$this->tags) {
              $this->tags = $this->getReferences('tags');
          }
  
          return $this->tags;
      }
docs: {@inheritDoc}