<?php

class Slider {

    public $id;
    public $title;
    public $subheading;
    public $image;

    public function __construct($id, $title, $subheading, $image) {
        $this->id = $id;
        $this->title = $title;
        $this->subheading = $subheading;
        $this->image = $image;
    }

}
?>