private function wrapInnerField() { $rendered = $this->innerField->render(); $rendered = preg_replace('#<label.+</label>#', '', $rendered); $rendered = str_replace('id="' . $this->innerField->getName() . '"', '', $rendered); $rendered = str_replace("[" . $this->innerField->getName() . "]", "[{$this->getName()}][]", $rendered); return $rendered; }
public function thenItShouldAdd_ToTheFoot($values) { $this->spec->assertEquals($values, $this->field->addToFoot()); }