app/Http/Controllers/VariationController.php
/**
     * Show the form for creating a new resource.
     *
     * @return \Illuminate\Http\Response
     */
Show the form for creating a new resource.
@return \Illuminate\Http\Response
Show the form for creating a new resource . @return \ Illuminate \ Http \ Response
public function create()
    {
        $category = (new Category)->service();
        return view('variation.create', compact('category'));
    }
public function create ( ) { $ category = ( new Category ) -> service ( ) ; return view ( 'variation.create' , compact ( 'category' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .