private function categories()
    {
        $package = Package::where('name', 'Core')->first();
        $core = ConfigCategory::create([
            'key' => 'core',
            'package_id' => $package->id
        ]);
        ConfigCategory::create([
            'key' => 'core_mail',
            'parent_id' => $core->id,
            'package_id' => $core->package_id
        ]);
        ConfigCategory::create([
            'key' => 'core_general',
            'parent_id' => $core->id,
            'package_id' => $core->package_id
        ]);
        $this->general();
        $this->mail();
    }
private function categories()
    {
        $package = Package::where('name', 'Core')->first();
        $core = ConfigCategory::create([
            'key' => 'core',
            'package_id' => $package->id
        ]);
        ConfigCategory::create([
            'key' => 'core_mail',
            'parent_id' => $core->id,
            'package_id' => $core->package_id
        ]);
        ConfigCategory::create([
            'key' => 'core_general',
            'parent_id' => $core->id,
            'package_id' => $core->package_id
        ]);
        $this->general();
        $this->mail();
    }
private function categories ( ) { $ package = Package :: where ( 'name' , 'Core' ) -> first ( ) ; $ core = ConfigCategory :: create ( [ 'key' => 'core' , 'package_id' => $ package -> id ] ) ; ConfigCategory :: create ( [ 'key' => 'core_mail' , 'parent_id' => $ core -> id , 'package_id' => $ core -> package_id ] ) ; ConfigCategory :: create ( [ 'key' => 'core_general' , 'parent_id' => $ core -> id , 'package_id' => $ core -> package_id ] ) ; $ this -> general ( ) ; $ this -> mail ( ) ; }
Method for creating configuration categories

@return void
Method for creating configuration categories