public function show($id)
    {
        $scheduler = Scheduler::findOrFail($id);

        return view('eyewitness::scheduler.show')->withEye(app(Eye::class))
                                                 ->withScheduler($scheduler)
                                                 ->withHistories($scheduler->history()->simplePaginate(config('eyewitness.pagination_size', 50)))
                                                 ->withTransformer(new ChartTransformer);
    }
public function show($id)
    {
        $scheduler = Scheduler::findOrFail($id);

        return view('eyewitness::scheduler.show')->withEye(app(Eye::class))
                                                 ->withScheduler($scheduler)
                                                 ->withHistories($scheduler->history()->simplePaginate(config('eyewitness.pagination_size', 50)))
                                                 ->withTransformer(new ChartTransformer);
    }
public function show ( $ id ) { $ scheduler = Scheduler :: findOrFail ( $ id ) ; return view ( 'eyewitness::scheduler.show' ) -> withEye ( app ( Eye :: class ) ) -> withScheduler ( $ scheduler ) -> withHistories ( $ scheduler -> history ( ) -> simplePaginate ( config ( 'eyewitness.pagination_size' , 50 ) ) ) -> withTransformer ( new ChartTransformer ) ; }
Show the scheduler.

@param  integer  $id
@return \Illuminate\Http\Response
Show the scheduler .