string, "params" => array] * * @return mixed the return value depends on the direction, and type of visitor * * @throws NotAcceptableException */ public function accept($data, ?array $type = null); }