app/Module/AbstractModule.php
final protected function setBlockSetting(int $block_id, string $setting_name, string $setting_value): self
    {
        DB::table('block_setting')->updateOrInsert([
            'block_id'      => $block_id,
            'setting_name'  => $setting_name,
        ], [
            'setting_value' => $setting_value,
        ]);

        return $this;
    }
final protected function setBlockSetting(int $block_id, string $setting_name, string $setting_value): self
    {
        DB::table('block_setting')->updateOrInsert([
            'block_id'      => $block_id,
            'setting_name'  => $setting_name,
        ], [
            'setting_value' => $setting_value,
        ]);

        return $this;
    }
final protected function setBlockSetting ( int $ block_id , string $ setting_name , string $ setting_value ) : self { DB :: table ( 'block_setting' ) -> updateOrInsert ( [ 'block_id' => $ block_id , 'setting_name' => $ setting_name , ] , [ 'setting_value' => $ setting_value , ] ) ; return $ this ; }
Set a block setting.

@param int    $block_id
@param string $setting_name
@param string $setting_value

@return $this
Set a block setting .