data = $data; $this->all_hidden = $all_hidden; } /** * Returns data. * * @return array */ public function getData(): array { return $this->data; } /** * Returns whether everything was hidden. * * @return bool */ public function isAllHidden(): bool { return $this->all_hidden; } }