public function index(RocketShipContract $rocketship) { $boom = $rocketship->blastOff(); return $boom; }
public function index(RocketShipContract $rocketship) { // $rocketship = new RocketShipContract ; $boom = $rocketship->blastOff(); return view('demo.index', compact('boom')); }
public function rock(RocketShipContract $rocketship) { $boom = $rocketship->blastOff(); dd($boom); }