public function tags() { $data = $this->api('repo')->tags($this->id); $tags = array(); foreach ($data as $tag) { $tags[] = Tag::fromArray($this->getClient(), $this, $tag); } return $tags; }