public function __construct($name, $link, $description, $preview) { $this->name = $name; $this->link = $link; $this->description = $description; $this->preview = $preview; }