src/Gzero/Cms/CMSSeeder.php
public function run()
    {
        config()->set('gzero-core.db_transactions', false);
        $languages = Language::all()->keyBy('code');
        $users     = $this->seedUsers();
        $contents  = $this->seedContent($languages, $users);
        $this->seedBlock(BlockType::all(), $languages, $users, $contents);
        //$fileTypes    = $this->seedFileTypes();
        //$files        = $this->seedFiles($fileTypes, $languages, $users, $contents, $blocks);
        //$this->seedOptions($languages);
    }
public function run()
    {
        config()->set('gzero-core.db_transactions', false);
        $languages = Language::all()->keyBy('code');
        $users     = $this->seedUsers();
        $contents  = $this->seedContent($languages, $users);
        $this->seedBlock(BlockType::all(), $languages, $users, $contents);
        //$fileTypes    = $this->seedFileTypes();
        //$files        = $this->seedFiles($fileTypes, $languages, $users, $contents, $blocks);
        //$this->seedOptions($languages);
    }
public function run ( ) { config ( ) -> set ( 'gzero-core.db_transactions' , false ) ; $ languages = Language :: all ( ) -> keyBy ( 'code' ) ; $ users = $ this -> seedUsers ( ) ; $ contents = $ this -> seedContent ( $ languages , $ users ) ; $ this -> seedBlock ( BlockType :: all ( ) , $ languages , $ users , $ contents ) ; //$fileTypes    = $this->seedFileTypes(); //$files        = $this->seedFiles($fileTypes, $languages, $users, $contents, $blocks); //$this->seedOptions($languages); }
This function run all seeds

@return void
This function run all seeds