HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/base.komma.pro/database/seeds/DatabaseSeeder.php
<?php

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Config;

/***
 * This seeder is used for developers.
 *
 * Class DatabaseSeeder
 */
class DatabaseSeeder extends Seeder
{

    /**
     * Keep track of the memory usage.
     *
     * @var bool
     */
    private bool $trackMemoryUsage = false;

    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        //Prerequisist seeders must run first
        $this->call(ButtonSeeder::class);
        $this->call(ServicepointSeeder::class);

        //Main seeders
        $this->call(DefaultSiteDevelopmentPageSeeder::class);
        //$this->call(DefaultSitePageComponentSeeder::class);
        $this->call(ServiceSeeder::class);
        $this->call(ProjectSeeder::class);
        $this->call(PartnerSeeder::class);
        $this->call(TeamMemberSeeder::class);
        $this->call(PostSeeder::class);
        $this->call(VacancySeeder::class);
        $this->call(TestimonialSeeder::class);
        $this->call(WebsiteConfigSeeder::class);
        $this->call(RemoveGermanLanguageFromSite::class);

        //Relation seeders
//        $this->call(ButtonRelationSeeder::class);
        $this->call(CorrectRoutesForWildcardModelsSeeder::class);
    }

    /**
     * @param  array|string  $class
     * @param  bool  $silent
     * @return DatabaseSeeder
     */
    public function call($class, $silent = false)
    {
        if($this->trackMemoryUsage) $this->command->info('Memory usage: ' . round((memory_get_usage() / 1024 / 1024 ), 2).' MB');
        return parent::call($class, $silent);
    }
}