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'));
 }
Beispiel #3
0
 public function rock(RocketShipContract $rocketship)
 {
     $boom = $rocketship->blastOff();
     dd($boom);
 }