app/Http/Controllers/Panel/ProductsController.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()
    {
        $product = new Product;
        return view('panel.products.create')->with([
            'category' => Category::all(),
            'hash' => $product->getUploadHashFolder()
        ]);
    }
public function create ( ) { $ product = new Product ; return view ( 'panel.products.create' ) -> with ( [ 'category' => Category :: all ( ) , 'hash' => $ product -> getUploadHashFolder ( ) ] ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .