public function __construct($collectData = true) { $this->collect_data = $collectData; $this->name = 'views'; $this->templates = []; $this->exporter = new ValueExporter(); }