app/Http/Controllers/Admin/EmployeeController.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()
    {
        $companies = Company::orderBy('created_at', 'desc')->get();
        return view('Admin.pages.employee.create')->with('companies', $companies);
    }
public function create ( ) { $ companies = Company :: orderBy ( 'created_at' , 'desc' ) -> get ( ) ; return view ( 'Admin.pages.employee.create' ) -> with ( 'companies' , $ companies ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .