render() публичный Метод

render the view
С версии: 3.0.0
public render ( ) : string
Результат string
Пример #1
0
 /**
  * testRender
  *
  * @since 3.0.0
  *
  * @param array $expectArray
  *
  * @dataProvider providerRender
  */
 public function testRender($expectArray = [])
 {
     /* setup */
     $resetForm = new View\ResetForm($this->_registry, $this->_language);
     /* actual */
     $actual = $resetForm->render();
     /* compare */
     $this->assertStringStartsWith($expectArray['start'], $actual);
     $this->assertStringEndsWith($expectArray['end'], $actual);
 }