end() public method

Renders the closing tag of the field container.
public end ( ) : string
return string the rendering result.
 public function testEnd()
 {
     $expectedValue = '</div>';
     $actualValue = $this->activeField->end();
     $this->assertEquals($expectedValue, $actualValue);
     // other tag
     $expectedValue = "</article>";
     $this->activeField->options['tag'] = 'article';
     $actualValue = $this->activeField->end();
     $this->assertTrue($actualValue === $expectedValue);
 }
 /**
  * @inheritdoc
  */
 public function end()
 {
     $result = parent::end();
     return str_replace('</div', '</dl', $result);
 }
 public function end()
 {
     return "</span>" . parent::end();
 }