protected function storeInput($element, $text) { $this->assertFilterProducesResults($element); $element = str_replace(['#', '[]'], '', $element); $this->inputs[$element] = $text; return $this; }