* @author Connor S. Parks */ class ScheduledComposer { /** * Bind data to the view. * * @param \Illuminate\Contracts\View\View $view * * @return void */ public function compose(View $view) { $scheduledMaintenance = Schedule::uncompleted()->orderBy('scheduled_at')->get(); $view->withScheduledMaintenance($scheduledMaintenance); } }