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

Methods are functions scoped to a class.