includes/widget/class-widget-inventory-slider.php

Methods are functions scoped to a class.