Reset all properties in case the view helper is called multiple times within a script

@return void
507506
private function reset(): void
    {
        $this->classes = ['card' => [], 'body' => [], 'header' => [], 'footer' => []];
        $this->attr = ['card' => [], 'body' => [], 'header' => [], 'footer' => []];

        $this->body_classes = ['title' => [], 'subtitle' => [], 'text' => [], 'link' => []];
        $this->body_attr = ['title' => [], 'subtitle' => [], 'text' => [], 'link' => []];

        $this->body_classes_first = [];
        $this->body_attr_first = [];

        $this->body = null;
        $this->body_sections = [];
        $this->header = null;
        $this->footer = null;
    }
499123
public function reset($properties = null)
    {
        unset($this->name);
        unset($this->alias);
        unset($this->version);

        if (is_array($properties)) {
            $this->set($properties);
        }
    }
864351
public function clearProperties(): void
    {
        foreach ($this as $property => $value) {
            if (!Str::startsWith('_', $property)) {
                $this->{$property} = null;
            }
        }
    }
723448
protected function clearViews()
    {
        $this->info('Clearing compiled views');

        try {
            Artisan::call('view:clear');
        } catch (InvalidArgumentException $e) {
            $views = $this->laravel['files']->glob(
                $this->laravel['config']['view.compiled'].'/*'
            );

            foreach ($views as $view) {
                $this->laravel['files']->delete($view);
            }
        }
    }
822020
public function resetProperties() {
    $this->mode = $this->columns = $this->where = $this->values = $this->data = null;
  }
492331
public function clearAll()
    {
        $this->clearErrors();
        $this->clearWarnings();
        $this->clearProgWarnings();
        $this->clearDebugMessages();
        $this->clearInfos();
        
        unset(self::$session_vars["focus_element"]);
        unset(self::$session_vars["error_element"]);
        unset(self::$session_vars["active_tab"]);
    }
238824
private function reset(): void
    {
        $this->label = null;
        $this->style = null;
        $this->large = false;
        $this->small = false;
        $this->extra_small = false;
        $this->block = false;
        $this->active = false;
        $this->link = null;
        $this->disabled = false;
        $this->mode = 'link';
        $this->input_type = null;
        $this->custom_classes = [];
    }
1126685
private function reset(): void
    {
        $this->values = [];
        $this->bg_colors = [];
        $this->striped = false;
        $this->animate = false;
        $this->height = null;
    }
1243956
function reset()
    {
        parent::reset();
        $this->_resolved_borders = array();
        $this->_content_height = 0;
        $this->_frame->reset();
    }
208114
public function resetTemplateVariables()
    {
        $data = &$this->getDataPlaceHolder();
        
        foreach (array_keys($data) as $k) {
            if ($data[$k] instanceof TemplateVariable) {
                $data[$k]->applyDefaultValue();
            }
        }
    }
340381
protected function reset()
    {
        $this->params                = array();
        $this->isShared              = true;
        $this->isCloneable           = true;
        $this->reflectionClass       = null;
        $this->reflectionConstructor = null;
        $this->constructorParams     = array();
        $this->parent                = null;
        $this->interfaces            = null;
    }
314763
public function reset()
    {
        $this->_position["x"] = null;
        $this->_position["y"] = null;

        $this->_containing_block["x"] = null;
        $this->_containing_block["y"] = null;
        $this->_containing_block["w"] = null;
        $this->_containing_block["h"] = null;

        $this->_style = null;
        unset($this->_style);
        $this->_style = clone $this->_original_style;

        // If this represents a generated node then child nodes represent generated content.
        // Remove the children since the content will be generated next time this frame is reflowed. 
        if ($this->_node->nodeName === "dompdf_generated" && $this->_style->content != "normal") {
            foreach ($this->get_children() as $child) {
                $this->remove_child($child);
            }
        }
    }
17577
public function reset($properties = null)
    {
        parent::reset();

        unset($this->family);
        unset($this->edition);

        $this->hidden = false;

        if (is_array($properties)) {
            $this->set($properties);
        }
    }
121779
private function reset()
    {
        $this->tableName = null;
        $this->select = '*';
        $this->filter = null;
        $this->orderby = null;
        $this->skip = 0;
        $this->groupby = null;
        $this->having = null;
        $this->top = null;
        $this->distinct = null;

        $this->recordID = null;

        $this->postFields = null;
    }
696006
public function reset($properties = null)
    {
        parent::reset();

        unset($this->channel);
        unset($this->using);
        unset($this->family);

        $this->stock = true;
        $this->hidden = false;
        $this->mode = '';
        $this->type = '';

        if (is_array($properties)) {
            $this->set($properties);
        }
    }
191278
protected function resetBuilder(): void
    {
        $this->foreground = 39;
        $this->background = 49;
        $this->format = [];
        $this->width = null;
        $this->indent = null;
    }
585746
public function reset()
    {
        $this->values[self::INDEX] = null;
        $this->values[self::KEY] = null;
    }