database/seeders/TitleSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        $title=array(
         'title'=>'Web Developer',
         'description'=>'This is Web Developer'
        );
        DB::table('titles')->insert($title);
    }
public function run ( ) { $ title = array ( 'title' => 'Web Developer' , 'description' => 'This is Web Developer' ) ; DB :: table ( 'titles' ) -> insert ( $ title ) ; }
Run the database seeds.
Run the database seeds .