name = $name; $this->icon = $icon; $this->url = $url; } public function setCounter($counter) { $this->counter = $counter; } }